Source Insight使用6---Source Insight 4.0中文注釋亂碼解決辦法
source insight使用6—Source Insight 4.0中文注釋亂碼解決辦法
Source Insight 4.0 的中文注釋為亂碼解決辦法
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,問題解決!!!
有網友評論說,“這種方法每次只對當前的單個文件生效,請問您知道統一修改所有文件的方法嗎?”,我已經在前面解決辦法中添加上了
感謝你的反饋。
解決辦法來源如下圖所示:
版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。