Source Insight 4.0中文注释乱码解决办法

 

Source Insight 4.0 的中文注释为乱码解决办法(source insight 3.5 及以下版本就到其他地方看看吧)

1、【临时解决办法】:

只针对当前文件解决中文乱码。

菜单栏中【File】->【Reload As Encoding...】->【Chinese Simplified (GB18030)】->选择后,点击load,问题解决。

——————————————————————————————————————

2、【彻底解决办法】:

对所有文件乱码解决办法:     我的做法是,在做下面操作的时候,先设置,然后关闭所有打开的文件,然后再打开文件即可 。   

菜单栏中 【Options】 > 【Preferences】 >File标签中,最下面的“Default encod­ing” :改成System Default(Windows ANSI) 或者Chinese Simplified(GB2312),彻底解决问题。

 

 

 

具体现象及详细解决说明:

 

错误现象:注释乱码,查了好多,肯定是编码显示问题:

现象如图所示:

 
网上找了很多解决办法,都是很多年前的了,解决起来太麻烦。最后我在这里官方支持文章中找到了答案:
Unfortunately, the code page encoding used in a file is not saved with the file. Therefore, it is possible to open a file assuming the wrong encoding. If you open a file with the wrong encoding, you will probably observe some characters are incorrect or look garbled. You can use the File > Reload As Encoding command to reload the file with the correct encoding.

内容来自这里Source Insight 4.0 

官方网站支持文档截图如下:

 

【临时解决办法】:具体解决办法:菜单栏中【File】->【Reload As Encoding...】->【Chinese Simplified (GB18030)】->选择后,点击load,问题解决!!!

参考网址:https://blog.csdn.net/BjarneCpp/article/details/70174752

  • 66
    点赞
  • 121
    收藏
    觉得还不错? 一键收藏
  • 17
    评论
评论 17
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值