hi,
I
read the gettext.py ,and after changed gettext.install('freevo',
os.environ['FREEVO_LOCALE']) in config.py to
gettext.install('freevo',
os.environ['FREEVO_LOCALE'],'gb2312'), finally,it display chinese
correctly!(freevo.po use charset=utf-8) thank god. but it still
some problem with displaying chinese file name .it reports :
UnicodeDecodeError: 'ascii' codec can't byte 0xcd in position 0: ordinal
not in range(128),any suggestion?
-----邮件原件-----
发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表 郭军利
发送时间: 2004年1月3日 13:16
收件人: [EMAIL PROTECTED]
主题: [Freevo-devel] why my freevo.po for chinese(gb2312) can't work?hi,I am newbie here and using freevo1.4.1 .I try to translate freevo.po for chinese(gb2312),anduse kwrite to edit-- "Content-Type: text/plain; charset=gb2312\n",then#msgfmt -o freevo.mo freevo.poit is ok.and I'm sure that the font file is right. but when I run #./freevo ,it can see the change of font ,but I can't see any chinese string! So I use both english string and chinesestring at same time ,as a result: I can see english ,but still can't see any chinese string !So I change the charset in freevo.po to utf-8,then I cansee some strange string. by run freevo ,but it still can't display chinese correctly.so how can I do for it?
