/super-csv/src/main/java/org/supercsv/encoder/DefaultCsvEncoder.java
currentColumn.insert( 0, quote).append( quote) ;currentColumn.append( c) ;
currentColumn.append ( c ) ;
skipNewline = true; } else if( c == '\n' ) { quotesRequiredForSpecialChar = true; currentColumn.append(eolSymbols); context.setLineNumber(context.getLineNumber() + 1); } else { <extra_id_0> } } final boolean quotesRequiredForMode = preference.getQuoteMode().quotesRequired(input, context, preference); final boolean quotesRequiredForSurroundingSpaces = preference.isSurroundingSpacesNeedQuotes() && input.length() > 0 && (input.charAt(0) == ' ' || input.charAt(input.length() - 1) == ' '); if( quotesRequiredForSpecialChar || quotesRequiredForMode || quotesRequiredForSurroundingSpaces ) {