Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
汉字显示问题
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
Lance
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2004
Posts: 125

PostPosted: Wed Apr 04, 2007 11:23 am    Post subject: 汉字显示问题 Reply with quote

这个问题已经有一段时间了,大概是上次升级udev还是什么后,一场大乱,后来我做过一个
emerge -e world

但问题还是没有解决。

在gnome中,有一些地方汉字有时候可以显示出来,有时候就是空白或乱码。主要有
1. 桌面上的"我的电脑","xx的主目录"什么的图标下面有汉字的,10次有8次,启动后汉字不会显示,偶尔1-2回又可以正常显示;
2. firefox中,同一个网页上,有些部分的汉字可以正常显示,有些又不行,注销后重新登入,有时就又可以了

在gnome中使用konqueror或者在kde中使用konqueror不会有这个问题。

我的LC_ALL设成 zh_CN.utf8了

如果需要其他信息,我会在贴出来。谢谢关注!
_________________
choose Gentoo, choose freedom
Back to top
View user's profile Send private message
Lance
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2004
Posts: 125

PostPosted: Wed Apr 04, 2007 11:25 am    Post subject: Reply with quote

比如我发完这个贴子后,标题显示正常,而内容是乱糟糟的。

然后注销后重新登录,firefox的汉字显示全部正常,桌面则一如既往。
_________________
choose Gentoo, choose freedom
Back to top
View user's profile Send private message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Thu Apr 05, 2007 12:45 am    Post subject: Reply with quote

  一圖勝萬言,來幾個截屏,如何? :)

  注: 這裏不能貼圖,你放幾個 url 上來。 
Back to top
View user's profile Send private message
Lance
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2004
Posts: 125

PostPosted: Thu Apr 05, 2007 9:59 pm    Post subject: Reply with quote

Thanks, Will do.
_________________
choose Gentoo, choose freedom
Back to top
View user's profile Send private message
Lance
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2004
Posts: 125

PostPosted: Thu May 17, 2007 9:48 pm    Post subject: Reply with quote

aka 兄,因为不知道如何贴图,一直没有做到。

这次升级后一切都自己好了,好要再观察一段时间。谢谢aka兄的热心!
_________________
choose Gentoo, choose freedom
Back to top
View user's profile Send private message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Sat May 19, 2007 12:53 pm    Post subject: Reply with quote

  呵呵,網絡上多幾個像 Lance 這樣對自己的言行負責到底的人,世界就可以變得更美好。  :idea:  機會錯過了,有時就難再追回(說真的,我好像以前碰上同樣問題)。


  不過不要緊,前面有更多的問題等著我們去注意,去解決。 :twisted:

  還有(小聲地說),我是 AKar ,最後面有一個 'r',因像 你現在的級別是 Tux's helper。 help 加上 "er"後而成為一個名詞。
Back to top
View user's profile Send private message
ManofPhysics
n00b
n00b


Joined: 12 Aug 2007
Posts: 1

PostPosted: Sun Aug 12, 2007 10:53 am    Post subject: Reply with quote

LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL= /*请不要不这一项设置起来,它是最高级的,只要把它设置为某个值,其他的就都跟他一样了,他们之间的优先级关系: LC_ALL>LC_*>LANG,因此LC_*和LANG是可以设置为不同的值,OS首先去察看LC_*的值,如果他没有被设置,OS就默认用LANG的值.当然在你的系统里还必须存在相应编码的字符集,不然就出现乱码*/
Back to top
View user's profile Send private message
r0bertz
Developer
Developer


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Sun Aug 12, 2007 7:33 pm    Post subject: Reply with quote

很有道理
补充一点:
在决定程序界面显示语言的时候,比LC_ALL优先级还高的是LANGUAGE
这是个GNU的扩展
LANGUAGE的值是不带字符集信息的,可以包含多个语言,之间用冒号隔开
比如"zh_CN:en"
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum