I can not input Chinese after upgrade to 7.04 repo (已解决)

系统字体配置、中文显示和输入法问题
回复
aubrey
帖子: 33
注册时间: 2006-04-27 11:21

I can not input Chinese after upgrade to 7.04 repo (已解决)

#1

帖子 aubrey » 2007-03-04 11:21

After upgrade to latest feisty repo, I can't display chinese in terminal, or input chinese.

1. scim startup properly, I can see the scim small keyboard icon on the panel.

2. Ctrl-Space works, but there is only English input method. Ctrl - shift can't call Chinese input method.

3. Chinese is enabled in the scim input method setup. See the following screenshot.

4. language support crash.

5. language selector is installed. but
aubrey@ubuntu-feisty:~$ sudo dpkg -s language-selector
Package: language-selector
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 128
Maintainer: Michael Vogt <michael.vogt@ubuntu.com>
Architecture: all
Version: 0.2.5
Depends: language-selector-common (= 0.2.5), python, python-central (>= 0.5.8), python-gtk2, python-glade2, python-apt (>= 0.6.12), synaptic
Description: Language selector for ubuntu linux
This package let you change and install language packs
in ubuntu linux.
.
This package contains the gtk frontend.
Python-Version: current
aubrey@ubuntu-feisty:~$ sudo fontconfig-voodoo -s -f zh_CN
Traceback (most recent call last):
File "/usr/bin/fontconfig-voodoo", line 7, in <module>
from LanguageSelector import FontConfig
ImportError: No module named LanguageSelector
[/img]
附件
scim-problem.jpg
上次由 aubrey 在 2007-03-15 0:29,总共编辑 1 次。
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53

#2

帖子 jarryson » 2007-03-04 11:41

你的locale是什么?英文locale输入中文有点问题

而且不行的话你可以试试右键单击要输入的区域,比如terminal leafpad,选择输入法为scim。再试试看。
aubrey
帖子: 33
注册时间: 2006-04-27 11:21

#3

帖子 aubrey » 2007-03-04 14:54

aubrey@ubuntu-feisty:~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
>而且不行的话你可以试试右键单击要输入的区域,比如terminal leafpad,选择输入法为scim。再试试看。
It works for gaim. But not for reply you, :)
It doesn't work in terminal either. Wired behavior in terminal, Chinese input method can be called out, but when I input some Chinese words into erminal, nothing is placed onto prompt.

Thanks a lot.
-Aubrey
aubrey
帖子: 33
注册时间: 2006-04-27 11:21

#4

帖子 aubrey » 2007-03-15 0:33

1)cat /etc/environment查看你的locale设置

2)locale -a查看系统支持的种类。

如果2)的输出里面没有包含1)的输出,可以安装1)的支持,或者将1)改为2)支持的一种。

我的输出
aubrey@ubuntu-feisty:~/sed$ cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"
LANG="en_US.utf8"
LANGUAGE="en_US.utf8"
aubrey@ubuntu-feisty:~/sed$ locale -a
C
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX
头像
stlxv
论坛版主
帖子: 8275
注册时间: 2006-05-03 0:39
来自: المريخ

#5

帖子 stlxv » 2007-04-24 0:30

:shock:
PHP是最好的语言!不服来战!
回复