Weblog entry #7 for Utumno

Chinese fonts?
Posted by Utumno on Sun 30 Apr 2006 at 16:05
Tags: none.
I have to admit I am bigtime confised about installing Chinese fonts. This issue is overly complicated; seems like one has to have support for a given 'codepage' compiled into kernel (?) then probably the locale has to be set to something, then I have to have appropriate font installed and God knows what else.

Can anyone point me to some tutorial on what to do to be able to

a) in Nautilus, open up directories with files whose names contain CHinese characters and actually see the characters

b) in Firefox, be able to see Chinese characters in Chinese websites

by CHinese characters, I mean both Traditional (Big5) and Simplified (CP936 / GB2312 ) charsets.

 

Comments on this Entry

Posted by deadcat (71.137.xx.xx) on Mon 1 May 2006 at 06:44
[ Send Message | View Weblogs ]
ttf-arphic-bsmi00lp install
ttf-arphic-uming install

try to install these 2 packages. i DONT read chinese but my friend was using my laptop last time so i had to install these 2

[ Parent | Reply to this comment ]

Posted by Utumno (60.248.xx.xx) on Tue 2 May 2006 at 11:05
[ Send Message | View Utumno's Scratchpad | View Weblogs ]
installing a couple of fonts ( the two mentioned above as well as 2 more, I cannot recall the names now ) and I can view chinese websites in Firefox as well as when I am chatting with my Chinese co-workers here using Gaim, I can see the characters there , too.

What is still missing is

1) Nautilus - still cannot show filenames properly
2) window titles gnomewide - no window title bar can display Chinese chars.

Any advice on those?

[ Parent | Reply to this comment ]

Posted by Anonymous (217.22.xx.xx) on Tue 2 May 2006 at 22:32
Most of Chinese users use a nonfree font called SimSun copied from Windows, because it is nicer, in the past, free Chinese fonts are so ugly that they are not acceptable for any Chinese(I think so at least)! But now the situation has changed. There is a free font called 'wenquanyi' which is quite good.
referring to your problem, I think it is the problem of character encoding, especially for simplified Chinese. The problem is this: the national standard by P.R China is GB18030 which is incompatible with UTF-8, but GB18030 or its predecessors GBK and GB2312 are widely used. But Gnome use UTF-8 by default. So you either convert the current file into UTF-8 or set your local to GBK(there might be some problems with GB18030) and set the G_BROKEN_FILENAMES to 1.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search