This is usually not a problem if the read and written files are not exchanged between platforms. But if you have, for example, a configuration file created on windows (Win1252, similar to ISO8859-1 encoding), and then run the application in the latest Linux (UTF-8 encoding), the configuration file will have problems with almost all characters above 127 ( e.g. German Umlauts Γ€, ΓΆ, ΓΌ or the β¬ sign or similar characters).
In this case, just indicate that you always use either encoding, and stick to it. If you use only simple ASCII files (not Latin extended!), You will have no problems so far.
Daniel
source share