About Code Page (936) Warnings, and Unicode Encoding.
Posted by niheaven on
URL: http://quantlib.414.s1.nabble.com/About-Code-Page-936-Warnings-and-Unicode-Encoding-tp16574.html
Hi,
I've noticed several people have post that in a non-Western code page environment, e.g. a Chinese based host, the compiling procedure will runing with 'warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss.'
The code page (936) is the Simplified Chinese code page, and the characters in these files are mostly currency symbols used in Europe, e.g. Euro, Franc. I met the same warnings, and I can avoid them by making my non-Unicode setting in Region to English (U.S.), but this is very inconvenient.
So, why cannot the QuantLib project save the source files in Unicode Encoding?
Sincerely,
Hsiao-nan Cheung
May 19, 2015