Somewhat ad hoc list of charsets that could be common.
Somewhat ad hoc list of charsets that could be common. If you have a better idea what should be here, let me know! Cyrillic? Asian?
Idea is that this contains a small set of guesses that together would cover a large fraction of real world cases. Full coverage is not feasible so only charsets with presumed relatively large user base should be included.
This is list is the default set of attempted locales in fi.pelam.csv.table.DetectingTableReader.
If this library is used in some rare context, then the defaults provided in this class will most likely have to be overridden appropriately by client code.
Pretty much ad hoc list of locales that could be common.
Pretty much ad hoc list of locales that could be common. If you have a better idea what should be here, let me know!
Idea is that this contains a small set of guesses that together would cover a large fraction of real world cases. Full coverage is not feasible so only locales with presumed relatively large user base should be included.
This is list is the default set of attempted locales in fi.pelam.csv.table.DetectingTableReader.
If this library is used in some rare context, then the defaults provided in this class will most likely have to be overridden appropriately by client code.
Somewhat ad hoc list of charsets that could be common.
Somewhat ad hoc list of charsets that could be common. If you have a better idea what should be here, let me know! Cyrillic? Asian?
Idea is that this contains a small set of guesses that together would cover a large fraction of real world cases. Full coverage is not feasible so only separator with presumed relatively large user base should be included.
This is list is the default set of attempted locales in fi.pelam.csv.table.DetectingTableReader.
If this library is used in some rare context, then the defaults provided in this class will most likely have to be overridden appropriately by client code.
There is no really any de facto character set for CSV, but UTF-8 is a good place to start with for anything.
Default separator in CSV is the comma as in "Comma Separated Values".
Default separator in CSV is the comma as in "Comma Separated Values".
However this changes depending on locale. Comma is not used in (some?) locales where standard number formats use comma as the decimal separator.
At least MS Excel with Finnish locale uses semicolon as separator.
Quote char escaped as two quotes.
Constant for commonLocales
.
Double quote as string.
Excel uses double quotes for cells containing the current separator character.
Excel uses double quotes for cells containing the current separator character. Two double quotes are used to encode a doulbe quote character in cell.
This object contains some common CSV data related constants.