From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Newsgroups: gmane.emacs.help Subject: Re: fonts for Chinese charset Date: Sun, 14 Jun 2009 00:08:10 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1541c5d2-3e93-4f27-91ca-e456b7f6b164@d38g2000prn.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244965245 32109 80.91.229.12 (14 Jun 2009 07:40:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Jun 2009 07:40:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 14 09:40:43 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MFkKS-0008MD-Sa for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jun 2009 09:40:37 +0200 Original-Received: from localhost ([127.0.0.1]:33666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFkKS-0006wZ-7w for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jun 2009 03:40:36 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!d38g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: 123.121.238.108 Original-X-Trace: posting.google.com 1244963290 27760 127.0.0.1 (14 Jun 2009 07:08:10 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 14 Jun 2009 07:08:10 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d38g2000prn.googlegroups.com; posting-host=123.121.238.108; posting-account=VidhwQoAAAClDZCDm61050TEZVFYPse- User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_7; en-us) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:170052 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65280 Archived-At: 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=A0pm, Eric Abrahamsen wrote: > So rather than attempting to hijack the other utf char display thread, = =A0 > I'll ask my question in a new one... > > My issue, it turns out, is that without defining any font stuff =A0 > whatsoever, emacs interprets most of my Chinese characters as Japanese = =A0 > (presumably the Chinese character which exist as kanji in Japanese). =A0 > My language environment and preferred coding system is utf-8, but =A0 > running C-u C-x =3D on a Chinese character shows it as charset japanese- > jisx0208, encoded by mule-utf-8. I recently set the default font to =A0 > Inconsolata, which resulted in more (about half) of the characters =A0 > being interpreted as a Chinese charset (chinese-gb2312), and also a =A0 > very different font being used for the "Japanese" and "Chinese" =A0 > characters. I thought this was where my problems started, in fact they = =A0 > were existing problems highlighted by the use of obviously different =A0 > fonts. > > Running C-h C RET and looking at the coding system priority list, it =A0 > starts off with mule-utf-8, and then there are a few japanese coding =A0 > 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 =A0 > to gb2312 that might help, but it seems to have made no difference. =A0 > Presumably this is because charsets and coding systems are not the =A0 > same thing. > > Is there anything I can do to help emacs recognize all Chinese =A0 > characters as Chinese? My end goal is just to get emacs to use the =A0 > same (Chinese) font for all Chinese characters. I'm using Carbon emacs = =A0 > (based on 22.3.1) on a Mac... > > Thanks! > Eric