解决方法:
“工具”菜单 —》 “选项” —》 “文本编辑器” —》将 ”自动检测不带签名的 UTF-8编码”选中即可。如图:
修改前:
1
//=======================================================
2
//鎺т欢鍚嶇О锛?
3
//鍔熻兘鎻忚堪锛?
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
2
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
3
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
修改后:
1
//=======================================================
2
//控件名称:
3
//功能描述:
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
2
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
3
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)