1. Firefox3.0.2 display Chinese characters as garbled characters. Solution steps: 1. the font of WindowsXP is generally stored in the C: \ WINDOWS \ Fonts directory, copy the font file you need to linux (the font file is in ttf format ). (Only the following files are copied: simfang. ttf, simhei. ttf, simkai. ttf) 2. copy the font file to the/usr/share/fonts directory, and then execute the following command & nb
1. Firefox 3.0.2 displays Chinese characters as garbled characters
Solution:
1. the font of Windows XP is generally stored in the C: \ WINDOWS \ Fonts directory. copy the font file you need to linux (the font file is in ttf format ).
(Only the following files are copied: simfang. ttf, simhei. ttf, and simkai. ttf)
2. copy the font file to the/usr/share/fonts directory and run the following command:
Mkfontscale
Mkfontdir // these two commands generate the font index information
Fc-cache // update the font cache
3. You can view the Chinese webpage.
Summary:
The problem with this method is that the title bar of Firefox still cannot display Chinese characters normally.
(This problem has been solved when the Chinese Input Method is installed below .)
2. Chinese Input Method missing
Solution:
1. Download little penguin Input Method
Wget http://www.fcitx.org/download/fcitx-3.6.3.tar.bz2-c
2. Decompress * .tar.bz2
Tar-xjvf fcitx-3.6.3.tar.bz2
3. Compile and install
./Configure -- prefix =/usr/local/
Make
Make install
4. Create a link
Cd/usr/local/bin
Ln-sf fcitx chinput
5. Edit ~ /. Bashrc (root permission is not required)
Export XMODIFIERS = "@ im =/usr/local/bin/fcitx"
Export XIM = "/usr/local/bin/fcitx"
Export XIM_PROGRAM = "/usr/local/bin/fcitx"
Export LANG = zh_CN.UTF-8
Export LC_CTYPE = zh_CN.UTF-8
Export LC_ALL =
6. Execute the following command and restart:
Source ~ /. Bashrc
/Usr/local/bin/fcitx &
7. After entering the system again, run the following command:
/Usr/local/bin/fcitx
Then there will be a pencil icon and input method column, you can use Ctrl + Space to enter Chinese.
Summary:
The problem with this method is that the system desktop is displayed in Chinese.