From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: fonts for Chinese charset Date: Sun, 14 Jun 2009 12:10:42 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244952680 12363 80.91.229.12 (14 Jun 2009 04:11:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Jun 2009 04:11:20 +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 06:11:18 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 1MFh3t-0004Eo-I8 for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jun 2009 06:11:17 +0200 Original-Received: from localhost ([127.0.0.1]:47850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFh3s-0007la-MO for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jun 2009 00:11:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFh3X-0007ka-OJ for help-gnu-emacs@gnu.org; Sun, 14 Jun 2009 00:10:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFh3S-0007es-9g for help-gnu-emacs@gnu.org; Sun, 14 Jun 2009 00:10:54 -0400 Original-Received: from [199.232.76.173] (port=52544 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFh3S-0007ep-3h for help-gnu-emacs@gnu.org; Sun, 14 Jun 2009 00:10:50 -0400 Original-Received: from mail-pz0-f203.google.com ([209.85.222.203]:61067) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFh3R-0005At-NU for help-gnu-emacs@gnu.org; Sun, 14 Jun 2009 00:10:49 -0400 Original-Received: by pzk41 with SMTP id 41so2115045pzk.14 for ; Sat, 13 Jun 2009 21:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=Z2SucIOkPiAP21i/Iic88HYw7onxJRCetr6RDod38F0=; b=FuvjPs2SeTVQduUyiyYRJK78iIpw/vcNsUQmiRC4MpqP9x4k92DBpeBdu4U2679RBz SWA29iiGQcNuQFgRFQHXp6H/jrwEWEtRGeWotlhObM0UsyYQqRLikHtC4GAnK/J/mGx5 nbpEOoNbg3RT+t0gUsWpqW6xmSa7+tdPdxHfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=ZwMQwuaKm27pAjtXfSIG4RwIK00AY7Y2De1PjDObisvIc6lIl7gVeEayHM6Gjd/xNG 98rtSerxalu/VrNe2UcYzrNBmb9h8xbjixDC/BmKWiNTZSjAL2Nm7FTq0HYCVDfo0QkM SqWjfQHe5y5k0YOf5TRke/IkgBezY8DoXDs9w= Original-Received: by 10.142.214.5 with SMTP id m5mr2096857wfg.37.1244952648540; Sat, 13 Jun 2009 21:10:48 -0700 (PDT) Original-Received: from ?192.168.0.5? ([123.121.238.108]) by mx.google.com with ESMTPS id 29sm2561800wfg.8.2009.06.13.21.10.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 13 Jun 2009 21:10:47 -0700 (PDT) X-Mailer: Apple Mail (2.935.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:65274 Archived-At: 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