On 31/03/17 20:01, African Wild Dog wrote:
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.
http://wiki.freepascal.org/FPC_Unicode_support#Source_file_codepage
http://wiki.freepascal.org/FPC_Unicode_support#String_constants
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal