none
怎么启用/source-charset:utf-16, /execution-charset:utf-16? RRS feed

  • 问题

  • 我将source-file保存为UTF-16 Little Endian,然后在项目properties设置编译参数 /source-charset:utf-16, /execution-charset:utf-16,结果报错:charset utf-16 not support.

    这里(https://msdn.microsoft.com/library/windows/desktop/dd317756)说“Unicode UTF-16, little endian byte order (BMP of ISO 10646); available only to managed applications”,请问managed applications是什么?


    2018年6月4日 16:28

答案

  • Hi,

    感谢在MSDN论坛发帖。

    >>这里(https://msdn.microsoft.com/library/windows/desktop/dd317756)说“Unicode UTF-16, little endian byte order (BMP of ISO 10646); available only to managed applications”,请问managed applications是什么?

    managed application指的就是使用托管代码开发出来的程序,也就是基于.Net Framework框架下的上层编程语言开发。例如c#,vb.net, c++\cli等。

    建议你使用UTF-8, 或者直接设置/utf-8命令。

    Best Regards,

    Baron Bi


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2018年6月5日 2:05