diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index bc61cef0..2a776c32 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -51,7 +51,17 @@ public class CSVFormat implements Cloneable, Serializable { /** Standard comma separated format as defined by RFC 4180. */ public static final CSVFormat DEFAULT = new CSVFormat(',', '"', DISABLED, DISABLED, true, true, false, true); - /** Excel file format (using a comma as the value delimiter). */ + /** + * Excel file format (using a comma as the value delimiter). + * Note that the actual value delimiter used by Excel is locale dependent, + * it might be necessary to customize this format to accomodate to your + * regional settings. + *
+ * For example for parsing or generating a CSV file on a French system + * the following format will be used: + * + *CSVFormat fmt = CSVFormat.EXCEL.withDelimiter(';');+ */ public static final CSVFormat EXCEL = new CSVFormat(',', '"', DISABLED, DISABLED, false, false, false, false); /** Tabulation delimited format. */