LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 689|回复: 10

A Question on Locale

[复制链接]
发表于 2004-8-8 02:45:13 | 显示全部楼层 |阅读模式
There is a problem with my X locale. Whenever I run a program under xterm, I encountered warning message 'Warning: locale not supported by Xlib, locale set to C". What can I do to solve this?
发表于 2004-8-8 02:53:04 | 显示全部楼层
it's just a warning message, or this program doesn't work?
 楼主| 发表于 2004-8-8 03:01:35 | 显示全部楼层
It seems some programs can't work.
I have installed fcitx, but couldn't run it successfully until now. When I type fcitx or fcitx -nb in xterm, no errors occured; and I can see a process named 'fcitx' running by executing ps -a. But no interfaces appeared, so I can't input Chinese. I think it's because of that Warning.
There is still a display problem with kaffeine, which can't display Chinese correctly. Maybe this is also caused by that Warning.
发表于 2004-8-8 03:05:18 | 显示全部楼层
can you post what happens after execution of command locale?
 楼主| 发表于 2004-8-8 03:13:12 | 显示全部楼层
I'm sorry what do you mean by 'post'?
I got this message when run programs in xterm. There is an example below:

$ emacs &
[1] 3070
Warning: locale not supported by Xlib, locale set to C


But not every program accompanied with this warning.
发表于 2004-8-8 03:14:51 | 显示全部楼层
execute command locale on xterm and show me what happens
 楼主| 发表于 2004-8-8 03:17:14 | 显示全部楼层
The result is:

$ locale
LANG=en_US.ISO-8859-15
LC_CTYPE="en_US.ISO-8859-15"
LC_NUMERIC="en_US.ISO-8859-15"
LC_TIME="en_US.ISO-8859-15"
LC_COLLATE="en_US.ISO-8859-15"
LC_MONETARY="en_US.ISO-8859-15"
LC_MESSAGES="en_US.ISO-8859-15"
LC_PAPER="en_US.ISO-8859-15"
LC_NAME="en_US.ISO-8859-15"
LC_ADDRESS="en_US.ISO-8859-15"
LC_TELEPHONE="en_US.ISO-8859-15"
LC_MEASUREMENT="en_US.ISO-8859-15"
LC_IDENTIFICATION="en_US.ISO-8859-15"
LC_ALL=
发表于 2004-8-8 03:24:51 | 显示全部楼层
for me, you have to change locale setting to make these programs work........
details to change locale setting:
http://linuxsir.cn/forum.php?mod=viewthread&tid=5911
for fcitx, you have to read its online documentation,
http://www.fcitx.org/main/index.php
 楼主| 发表于 2004-8-8 03:27:36 | 显示全部楼层
I'm trying to read these aritcles. Thank you very much.
发表于 2004-8-8 12:41:30 | 显示全部楼层
对不起,走错门了……
我要去的是基础建设讨论专版,怎么来到英语角了……郁闷
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表