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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章