help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fonts for Chinese charset


From: Eric Abrahamsen
Subject: fonts for Chinese charset
Date: Sun, 14 Jun 2009 12:10:42 +0800

So rather than attempting to hijack the other utf char display thread, I'll ask my question in a new one...

My issue, it turns out, is that without defining any font stuff whatsoever, emacs interprets most of my Chinese characters as Japanese (presumably the Chinese character which exist as kanji in Japanese). My language environment and preferred coding system is utf-8, but running C-u C-x = on a Chinese character shows it as charset japanese- jisx0208, encoded by mule-utf-8. I recently set the default font to Inconsolata, which resulted in more (about half) of the characters being interpreted as a Chinese charset (chinese-gb2312), and also a very different font being used for the "Japanese" and "Chinese" characters. I thought this was where my problems started, in fact they were existing problems highlighted by the use of obviously different fonts.

Running C-h C RET and looking at the coding system priority list, it starts off with mule-utf-8, and then there are a few japanese coding systems further down (but no chinese). I thought if I used prefer- coding-system to set the first priority to mule-utf-8 and the second to gb2312 that might help, but it seems to have made no difference. Presumably this is because charsets and coding systems are not the same thing.

Is there anything I can do to help emacs recognize all Chinese characters as Chinese? My end goal is just to get emacs to use the same (Chinese) font for all Chinese characters. I'm using Carbon emacs (based on 22.3.1) on a Mac...

Thanks!
Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]