歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 11.10 Gedit中文亂碼解決辦法

Ubuntu 11.10 Gedit中文亂碼解決辦法

日期:2017/2/28 15:57:06   编辑:Linux教程

Ubuntu 11.10 下Gedit中文出現亂碼的解決辦法。

在終端輸入:

sudo apt-get install dconf-tools --安裝dconf-editor

按下Alt-F2,打開“運行應用程序”對話框,輸入dconf-editor+回車,打開dconf-editor

在org--->gnome--->gedit--->preferences--->encodings--->auto-detected

在最前面添加'GB18030','GB2312','GBK',輸入完後敲回車鍵才能保存輸入的內容

結果為['UTF-8','GB18030','GB2312','GBK','BIG5','CURRENT','UTF-16']

Copyright © Linux教程網 All Rights Reserved