[fpc-pascal] String Constants and Source File Code Page (Cross-platform)

African Wild Dog paintedlycaon at gmail.com
Fri Mar 31 20:01:34 CEST 2017


What is the recomended way to deal with string constants in units which are
shared in cross-platforms projects?

For example, i started a project in Linux, where the source code files are
saved in UTF-8. If i use theses files in Windows, the constants aren't
automatically converted to the system code-page. So, i am getting wrong
characters when i access theses constants in Windows.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170331/81ac1068/attachment.html>

More information about the fpc-pascal mailing list