分页: 1 / 1

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

发表于 : 2007-03-04 11:21
aubrey
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 <[email protected]>
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]

发表于 : 2007-03-04 11:41
jarryson
你的locale是什么?英文locale输入中文有点问题

而且不行的话你可以试试右键单击要输入的区域,比如terminal leafpad,选择输入法为scim。再试试看。

发表于 : 2007-03-04 14:54
aubrey
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

发表于 : 2007-03-15 0:33
aubrey
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

发表于 : 2007-04-24 0:30
stlxv
:shock: