/super-csv/src/main/java/org/supercsv/encoder/DefaultCsvEncoder.java
currentColumn.append( quoteEscapeChar) ;currentColumn.insert( 0, quote).append( quote) ;
currentColumn.insert ( 0, quote ) .append ( quote ) ;
} } 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 ) { <extra_id_0> } return currentColumn.toString(); } }