I am writing a CSV exporter in Java that should respect the user\'s custom settings, especially the \"List separator\" to use as a delimiter.
In Windows, one can set
For windows it's stored in the registry at:
"HKEY_CURRENT_USER\\Control Panel\\International"
so you can use something like this
private void setDelimiterProperties(String delimiter) {
Properties p = new Properties();
String key = "HKEY_CURRENT_USER\\Control Panel\\International\\sList";
p.setProperty(key, delimiter);
}