Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
文本乱码解决方法
Experiences and Insight
1406
views ·
2
replies ·
To
floor
Go
Light
deepin
2012-01-03 22:55
Author
[color=#FF8000:3akq2wdu]Gedit[/color:3akq2wdu]
终端中输入:
[color=#FF0000:3akq2wdu]gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'GB18030', 'GB2312', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']"[/color:3akq2wdu]
回车即可
------------------------------------------------------------------------------------------------------
[color=#0000FF:3akq2wdu]文件查看器[/color:3akq2wdu]PDF乱码的解决办法:
sudo gedit /etc/fonts/conf.d/49-sansserif.conf
将倒数第四行的字体改为汉字的字体,如‘文泉驿正黑’。
sans-serif
serif
monospace
[color=#FF00BF:3akq2wdu]文泉驿正黑[/color:3akq2wdu]
Reply
Like 0
Favorite
View the author
All Replies
cxbii
deepin
2012-01-03 23:47
#1
是修改编码对吧?
修改为UTF-8
Reply
Like 0
View the author
Light
deepin
2012-01-03 23:50
#2
[color=#FF0000:4x714ifg]Chmsee乱码[/color:4x714ifg]
在“编辑/设置/字符集”里换一下字符(东亚/简体中文)集即可
Reply
Like 0
View the author
Please
sign
in first
New Thread
Popular Ranking
Change
deepin donwloader don't catch download launch from browsers
deepin 23 internal testing update on December 20, 2024
Popular Events
More
终端中输入:
[color=#FF0000:3akq2wdu]gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'GB18030', 'GB2312', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']"[/color:3akq2wdu]
回车即可
------------------------------------------------------------------------------------------------------
[color=#0000FF:3akq2wdu]文件查看器[/color:3akq2wdu]PDF乱码的解决办法:
sudo gedit /etc/fonts/conf.d/49-sansserif.conf
将倒数第四行的字体改为汉字的字体,如‘文泉驿正黑’。
sans-serif
serif
monospace
[color=#FF00BF:3akq2wdu]文泉驿正黑[/color:3akq2wdu]