LinuxSir.cn,穿越时空的Linuxsir!

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

Why all the locales are set to "POSIX"?

[复制链接]
发表于 2006-4-6 19:14:06 | 显示全部楼层 |阅读模式
Debian, linux-image-2.6.15-1-686, gnome2.14, my locales are en_US.UTF-8.
Today I update the base system to linux-image-2.6.16-1-686, but now all the locales are set to POSIX:

LANG=
LC_CTYPE="OSIX"
LC_NUMERIC="OSIX"
LC_TIME="OSIX"
LC_COLLATE="OSIX"
LC_MONETARY="OSIX"
LC_MESSAGES="OSIX"
LC_PAPER="OSIX"
LC_NAME="OSIX"
LC_ADDRESS="OSIX"
LC_TELEPHONE="OSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

And I can't use fcitx now. Why all the locales are set to POSIX?
 楼主| 发表于 2006-4-6 19:21:35 | 显示全部楼层
And if I don't start X, the locales remain en_US.UTF-8. Why starting X will change the locales to POSIX?
回复 支持 反对

使用道具 举报

发表于 2006-4-6 19:30:48 | 显示全部楼层
dpkg-reconfigure locales
如果不行,检查
~/.bashrc
~/.bash_profile
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-6 19:36:09 | 显示全部楼层
All locales I have installed are:
en_US.UTF-8
zh_CN.GB2312
zh_CN.GBK
zh_CN.GB18030
zh_CN.UTF-8
And the default locale is en_US.UTF-8.
.bashrc and .bash_profile do not set locales.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-6 19:41:22 | 显示全部楼层
好了,原来是GDM把我的启动默认语言改了。

终于可以说中文了。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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