首页 > 其他 > 详细

VS使用utf-8 no bom时编译报错的一个解决方案

时间:2021-09-02 16:38:08      阅读:9      评论:0      收藏:0      [点我收藏+]

Set the option in Visual Studio or programmatically

To set this compiler option in the Visual Studio development environment

  1. Open the project Property Pages dialog box. For more information, see Set C++ compiler and build properties in Visual Studio.

  2. Select the Configuration Properties > C/C++ > Command Line property page.

  3. In Additional Options, add the /utf-8 option to specify your preferred encoding.

  4. Choose OK to save your changes.

VS使用utf-8 no bom时编译报错的一个解决方案

原文:https://www.cnblogs.com/nuoforever/p/15217179.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!