all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <girzel@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: fonts for Chinese charset
Date: Sun, 14 Jun 2009 12:10:42 +0800	[thread overview]
Message-ID: <EDA30672-CA49-4CC5-8C3C-D7E8CF5FC003@gmail.com> (raw)

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	other threads:[~2009-06-14  4:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-14  4:10 Eric Abrahamsen [this message]
     [not found] <mailman.598.1244952657.2239.help-gnu-emacs@gnu.org>
2009-06-14  7:08 ` fonts for Chinese charset Eric
2009-06-15  4:52   ` Eric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EDA30672-CA49-4CC5-8C3C-D7E8CF5FC003@gmail.com \
    --to=girzel@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.