Solve the fcitx configuration file garbled method a configuration file garbled problem, because the configuration file is GB2312 encoding, you can first convert to UTF-8 encoding, after modification, and then change back GB2312. 1. run gedit -- encodingGBK ~ /. Fcitx/config use gedit to open the configuration file of fcitx. isn't it garbled? 2. set
Solution 1: fcitx configuration file garbled
Configuration file garbled problem, because the configuration file is GB2312 encoding, you can first convert to UTF-8 encoding, modification, and then back GB2312.
1. run gedit -- encoding = GBK ~ first ~ /. Fcitx/config use gedit to open the configuration file of fcitx. isn't it garbled?
2. set
Code:
[Program]
Show font (medium) = *
The "*" character in "is changed to the Chinese font. PS: You may not upgrade the language file, but the font is usable if you do not upgrade it.
You can use the fc-list command and find the font to change it.
The Chinese font in the configuration file is incorrect. The second line of the configuration file is
Solution 2
Modify your. vimrc file to support gb2312, which will be automatically recognized.
Refer to my settings
Code:
Let & termencoding = & encoding
Set fileencodings = UTF-8, gbk, ucs-bom, cp936
Solution 3: fcitx configuration file garbled
ALT + F2 open the Run dialog box and run
Gconf-editor
Expand/apps/gedit-2/preferences/encodings /"
Edit "auto_detected" on the right to add "GB18030" to the top. In the future, gedit will be able to display Chinese characters normally.
Solution 4: fcitx configuration file garbled
It can be viewed in Firefox and cannot be modified.
Solution 5: fcitx configuration file garbled
Code:
Iconv-f GB18030-t UTF8 foo.txt-o foo1.txt
Convert the txt file to utf8 encoding.
If your txt file contains characters other than GB18030, the conversion will fail.
Code:
Man iconv
Check the iconv usage.