Chinese language support in ubuntu
what I have done For ubuntu 8.04:
1 .system->administration->language support: chinese
2.install fonts: here and hear for install new fonts,
I have ONLY do these steps:
首先
and I have done something extra:
sudo locale-gen zh_CN.GBK
然后打开/etc/environment,加入一行:
,重启X,按Ctrl+空格键即可.
then the fonts are installed properly
4. sudo apt-get install fcitx
5. im-switch -s fcitx
now fcitx could be invoked, but the interface of fcitx in weired charecters( 乱码)
6. fix the problem, according to 解决 fcitx 状态条中汉字显示为方框
change the second line of ~/.fctix to :
ÏÔÊŸ×ÖÌå(ÖÐ)=stsong
ÏÔÊŸ×ÖÌå(Ó¢)=Courier New
7. locale in theory:
关于locale的设定,为什么要设定locale
将 locale 从 zh_CN.GB2312 转到 zh_CN.UTF-8 的一些问题和解决方法
command:
iconv - Convert encoding of given files from one encoding to another
im-switch
优快云 blog 没有tag功能了?
what I have done For ubuntu 8.04:
1 .system->administration->language support: chinese
2.install fonts: here and hear for install new fonts,
I have ONLY do these steps:
- copy the font from a windows system to /usr/share/fonts/zh_CN/
- sudo mkfontscale
sudo mkfontdir
sudo fc-cache
首先
代码: |
sudo locale-gen zh_CN.UTF-8 |
and I have done something extra:
sudo locale-gen zh_CN.GBK
然后打开/etc/environment,加入一行:
代码: |
LC_CTYPE=zh_CN.UTF-8 |
then the fonts are installed properly
4. sudo apt-get install fcitx
5. im-switch -s fcitx
now fcitx could be invoked, but the interface of fcitx in weired charecters( 乱码)
6. fix the problem, according to 解决 fcitx 状态条中汉字显示为方框
change the second line of ~/.fctix to :
ÏÔÊŸ×ÖÌå(ÖÐ)=stsong
ÏÔÊŸ×ÖÌå(Ó¢)=Courier New
7. locale in theory:
关于locale的设定,为什么要设定locale
将 locale 从 zh_CN.GB2312 转到 zh_CN.UTF-8 的一些问题和解决方法
command:
iconv - Convert encoding of given files from one encoding to another
im-switch
优快云 blog 没有tag功能了?