From: Eric <girzel@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: fonts for Chinese charset
Date: Sun, 14 Jun 2009 00:08:10 -0700 (PDT) [thread overview]
Message-ID: <1541c5d2-3e93-4f27-91ca-e456b7f6b164@d38g2000prn.googlegroups.com> (raw)
In-Reply-To: mailman.598.1244952657.2239.help-gnu-emacs@gnu.org
Nevermind! I compiled emacs 23 and all works well. All characters
report their character set as unicode (or unicode bmp for Chinese
chars) and while it's using a hideous Chinese font I'll bet I can
figure that one out on my own.
E
On Jun 14, 12:10 pm, Eric Abrahamsen <gir...@gmail.com> wrote:
> 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
next parent reply other threads:[~2009-06-14 7:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.598.1244952657.2239.help-gnu-emacs@gnu.org>
2009-06-14 7:08 ` Eric [this message]
2009-06-15 4:52 ` fonts for Chinese charset Eric
2009-06-14 4:10 Eric Abrahamsen
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=1541c5d2-3e93-4f27-91ca-e456b7f6b164@d38g2000prn.googlegroups.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.