Re: About Code Page (936) Warnings, and UnicodeEncoding.

Posted by niheaven on
URL: http://quantlib.414.s1.nabble.com/About-Code-Page-936-Warnings-and-Unicode-Encoding-tp16574p16578.html

Hi Luigi,

Sorry for an empty mail.
I'm trying to make it portable and want to find a way that need not reboot (change a non-Unicode setting need reboot). But I find the easiest way is Unicode-Encoding source files, so why this hadn't achieved?

Yours
Hsiao-nan Cheung
发自我的iPhone


------------------ 原始邮件 ------------------
发件人: Luigi Ballabio <[hidden email]>
发送时间: 2015年05月19日 15:42
收件人: niheaven <[hidden email]>
抄送: QuantLib users <[hidden email]>
主题: Re: [Quantlib-users] About Code Page (936) Warnings, and UnicodeEncoding.

Is there a way to do it portably across compilers and operating systems?

Luigi

On Tue, May 19, 2015 at 4:31 AM, niheaven <[hidden email]> wrote:
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



--
View this message in context: http://quantlib.10058.n7.nabble.com/About-Code-Page-936-Warnings-and-Unicode-Encoding-tp16574.html
Sent from the quantlib-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



--

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users