LinuxSir.cn,穿越时空的Linuxsir!

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

[NEED HELP]Result of "locale -a" is ......

[复制链接]
发表于 2005-4-10 14:08:50 | 显示全部楼层 |阅读模式
When I run "locale -a", the result is :

  1. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  2. locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  3. locale: Cannot set LC_COLLATE to default locale: No such file or directory
  4. C
  5. POSIX
  6. de_DE
  7. de_DE@euro
  8. en_HK
  9. en_PH
  10. en_US
  11. en_US.utf8
  12. es_MX
  13. fa_IR
  14. fr_FR
  15. fr_FR@euro
  16. it_IT
  17. ja_JP
  18. ja_JP.eucjp
  19. ja_JP.utf8
复制代码


what's the matter with it?
where is zh_CN zh_CN.GBK zh_CN.GB2312....?
How should I do to make zh_CN in that list?
发表于 2005-4-10 16:26:27 | 显示全部楼层
add the following two lines to your /etc/locales.build, then re-emerge glibc with "userlocales" use.

zh_CN.GBK/GBK
zh_CN.UTF-8/UTF-8
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-10 18:27:44 | 显示全部楼层
Thanks
回复 支持 反对

使用道具 举报

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

本版积分规则

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