We are processing files that our clients generated on their local Windows machines which use the CP-1252 character set. Occasionally, while processing one of these files in our backend (running on CentOS), we get runtime errors (it's a Java backend, so RuntimeExceptions
). If we remote in to the server and rename the file (using UTF-8) and re-run it, the file processes perfectly fine.
Is there any way to "add" CP-1252 to CentOS's available character sets so that this stops happening?