View previous topic :: View next topic |
Author |
Message |
hotgly
Joined: 22 Apr 2007 Posts: 130
小企鹅: 4504
|
Posted: 2007-May-13 Sun, pm8:50 |
|
Post subject: 求助汉化,怎样才能在pdaxrom里显示windows系统的中文(GB,big5编码?) |
|
向各位老大、高人求助,怎样才能在dillo,rox-filer,xmms里正确显示windows系统里的中文文件名,以及网页上的中文?
还有,加入export LANG=zh_CN.gbk 之后,为什么在我的终端中经常出现:locale not supported by c library,fall back to original c library locale
我的glibc-gconv,glibc-locale跟中文有关的全都装上了呀,可是dillo的中文网页还是乱码,一定要输入export LANG=zh_CN && export LC_ALL=zh_CN && dillo &才可以。
然后效仿一下,输入了export LANG=zh_CN && export LC_ALL=zh_CN && rox &,结果就崩溃了,rox启动不起来了,还是那句locale not supported by c library,fall back to original c library locale,只好重新来一遍flash restore。
还有,看到帖子说有glibc2.3.x,wellswang的beta1是2.2.x,手痒装了一把,结果又崩溃,整个崩溃,又重新flash restore,郁闷啊。。。我用的是7500c+1.1.0beta1wellswang version+高速双卡,有哪个不兼容吗?
跟字体文件有关系吗?我连接到/usr/X11R6//lib/X11/fonts/ttf下一个windows的细黑体,abiword已经可以用了,可是locale not supported by c library,fall back to original c library locale依旧。
折腾了一晚上也没解决,各位大侠帮把手吧。。。
帮帮忙啊。。。。。 |
|
Back to top |
|
lonelyp

Joined: 14 Nov 2006 Posts: 260
小企鹅: 8158
|
|
Back to top |
|
hotgly
Joined: 22 Apr 2007 Posts: 130
小企鹅: 4504
|
Posted: 2007-May-14 Mon, pm12:53 |
|
Post subject: zh_CN.gb2312 |
|
我照你所说在starx里加入export LANG=zh_CN.gb2312 export LC_ALL=zh_CN.gb2312,
又试过了export LANG=zh_CN.gb2312 && export LC_ALL=zh_CN.gb2312 && dillo &
export LANG=zh_CN.gb2312 && export LC_ALL=zh_CN.gb2312 && rox &;
dillo中是可以显示网页上的中文了,可是rox的命令行显示locale not supported by c library,fall back to original c library locale,看windows中的中文文件夹名仍然是乱码,难道哪个locale没装对?
求助老大 |
|
Back to top |
|
lonelyp

Joined: 14 Nov 2006 Posts: 260
小企鹅: 8158
|
|
Back to top |
|
hotgly
Joined: 22 Apr 2007 Posts: 130
小企鹅: 4504
|
Posted: 2007-May-15 Tue, pm8:56 |
|
Post subject: |
|
我用的7500 1.1.0beta1wellswang,没有/etc/sysconfig/locale,改了/etc/profile,
把里面的zh_CN.utf-8改成了zh_CN.gb2312,重新startx,进入的速度变慢,但仍然不显示中文,"locale not supported by c library,fall back to original c library locale",是什么意思, c library 是什么呀? |
|
Back to top |
|
lonelyp

Joined: 14 Nov 2006 Posts: 260
小企鹅: 8158
|
Posted: 2007-May-16 Wed, pm1:32 |
|
Post subject: |
|
该locale并不能使gtk1应用程序显示中文
因为gtk1不支持ttf字体,我做的镜像中只有ttf中文字体,所以不能显示中文,
xmms的中文支持一直是个问题
你可以尝试安装pcf字体来显示中文
不过,最简单的办法是找到替换软件,
例如使用bmp替换xmms,bmp是gtk2重写的"xmms",所以能够很好的支持ttf中文字体。 _________________ my Blog: http://wells.osall.com
请支持我的开源项目Sylvan: http://sylvan.osall.com |
|
Back to top |
|
hotgly
Joined: 22 Apr 2007 Posts: 130
小企鹅: 4504
|
Posted: 2007-May-16 Wed, pm8:45 |
|
Post subject: |
|
lonelyp
谢谢,我再搞搞看。有意思的是,按你的指导能够在dillo里显示除www.sina.com.cn以外的中文网页,而其他的中文网页显示很好。
但还无法正确显示windows的中文文件名,文件里面的中文(xPDF或abiword或jusreader)显示很好。应该是rox还没有接受中文。 |
|
Back to top |
|
lonelyp

Joined: 14 Nov 2006 Posts: 260
小企鹅: 8158
|
Posted: 2007-May-17 Thu, am10:25 |
|
Post subject: |
|
不是rox的问题
是内核的问题
fat文件分区的codepage是936(简体中文),而ext3应该是utf8
你可以在挂载文件分区是加上codepage=936来指定编码试试看
beta3内核完全支持utf8,没有中文文件名的问题 _________________ my Blog: http://wells.osall.com
请支持我的开源项目Sylvan: http://sylvan.osall.com |
|
Back to top |
|
hotgly
Joined: 22 Apr 2007 Posts: 130
小企鹅: 4504
|
Posted: 2007-May-17 Thu, pm2:14 |
|
Post subject: |
|
lonelyp
请问你指的是 mount smbfs 的时候加上 codepage=936 吗?好像不行啊。。。 |
|
Back to top |
|
lonelyp

Joined: 14 Nov 2006 Posts: 260
小企鹅: 8158
|
|
Back to top |
|
hotgly
Joined: 22 Apr 2007 Posts: 130
小企鹅: 4504
|
Posted: 2007-May-21 Mon, pm9:39 |
|
Post subject: |
|
lonelyp
谢谢,已解决,是我的gconv没有装好或者需要poweroff重新启动,总之,重新装了一遍gconv就解决了,就是用你的汉化beta1,UTF-8,多谢。
还想打听一下,r197在7500c上您老人家有没有探索过,我们都等着哪,不奢望DBK了(据说做不了),有个优化的帖子我们照着走一轮就OK,我试着装过一次beta4,2.6的kernel好像超爽地说.....盼ing...... |
|
Back to top |
|
lonelyp

Joined: 14 Nov 2006 Posts: 260
小企鹅: 8158
|
Posted: 2007-May-23 Wed, pm2:54 |
|
Post subject: |
|
我没有7500C
只有C3K1
所以我的Blog上只有C3K1的r198的Bug修正办法
我想r197应该也是差不多的
还有汉化的办法所有版本几乎都是一样的
也可以参考我的blog _________________ my Blog: http://wells.osall.com
请支持我的开源项目Sylvan: http://sylvan.osall.com |
|
Back to top |
|
hotgly
Joined: 22 Apr 2007 Posts: 130
小企鹅: 4504
|
Posted: 2007-May-23 Wed, pm4:47 |
|
Post subject: |
|
lonelyp
你在上海吗?我可以提供机器。
我看到你r198的帖子了,可是我装过beta4出现几个没提过的问题:
1.suspend/resume失灵,suspend后进入死机状态,需重新断掉电源再连接电源才能启动,好像有帖子说事电源管理有问题
2.没有声音,音量控制没有用,一直是无声状态,要装什么程序包吗?
3.键盘映射问题,我看到了你的一个帖子关于7500c的键盘映射问题,也下载了你给的插件,但是不知道在beta4里怎么用,所以键盘没办法搞明白
请老大指点 _________________ sl-7500c pdaxrom1.1.0beta1wellswang汉化
extremeIII CF,SD Roku Agere Hermes II CF Wifi with ccpaging driver for 7500c
Ubuntu Hardy box |
|
Back to top |
|
lonelyp

Joined: 14 Nov 2006 Posts: 260
小企鹅: 8158
|
Posted: 2007-May-25 Fri, pm3:37 |
|
Post subject: |
|
我不在上海
不过建议不要装beta4了
我看了一下OESF上的老外的文章,Beta4好像Bug很多
2.6内核的话最新版本7500C用的应该是r197,据说秀正了很多Bug,不过我不清楚在7500C上表现如何 _________________ my Blog: http://wells.osall.com
请支持我的开源项目Sylvan: http://sylvan.osall.com |
|
Back to top |
|
hotgly
Joined: 22 Apr 2007 Posts: 130
小企鹅: 4504
|
Posted: 2007-May-26 Sat, pm5:40 |
|
Post subject: |
|
lonelyp
谢谢,OESF上新出了个r198的sp1,coming soon,好像大部分问题都解决了,不知道能不能安装在7500c上,但是7500c键盘布局跟corgi什么的还是不一样,不知在您的beta1里是怎么解决的,如果装了r197的话该怎么改过来? _________________ sl-7500c pdaxrom1.1.0beta1wellswang汉化
extremeIII CF,SD Roku Agere Hermes II CF Wifi with ccpaging driver for 7500c
Ubuntu Hardy box |
|
Back to top |
|
|