From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KKgnb-0002w1-Lu for garchives@archives.gentoo.org; Sun, 20 Jul 2008 21:50:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 504ABE0459; Sun, 20 Jul 2008 21:50:34 +0000 (UTC) Received: from mail.osagesoftware.com (osagesoftware.com [216.144.204.42]) by pigeon.gentoo.org (Postfix) with ESMTP id 24492E0459 for ; Sun, 20 Jul 2008 21:50:34 +0000 (UTC) Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10]) by mail.osagesoftware.com (Postfix) with ESMTP id BD8C47BC36; Sun, 20 Jul 2008 17:50:33 -0400 (EDT) Date: Sun, 20 Jul 2008 17:50:33 -0400 From: David Relson To: "David Sveningsson" Cc: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] emacs and asian languages Message-ID: <20080720175033.46fbbceb@osage.osagesoftware.com> In-Reply-To: <20080720222915.14733p3d7bvcmfi8@mail.sidvind.com> References: <20080720101247.1be3183b@osage.osagesoftware.com> <20080720222915.14733p3d7bvcmfi8@mail.sidvind.com> Organization: Osage Software Systems, Inc. X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: f4973a52-370a-4de3-86a9-f5832a0efc50 X-Archives-Hash: 306894bc44359a6c3116a317e3fb6fde On Sun, 20 Jul 2008 22:29:15 +0200 David Sveningsson wrote: > Citerar "David Relson" : > > > I'm using emacs.22.1 and it's having trouble displaying asian > > languages, specifically chinese and korean. > > > > From the menus, using Options//Mule//ShowMultiLingualText, displays > > Japanese correctly but shows boxes for Chinese and Korean > > characters. > > > > Similarly, I've got a HelloWorld.java program that displays "Hello > > World" in English, Chinese, Japanese, and Korean. This file displays > > perfectly using Eclipse. Emacs displays the japanese characters > > without any problem. 4 of the 5 chinese characters are displayed > > properly, with the 5th showing as a box. All 8 korean characters > > show up as boxes. > > > > FWIW, the strings show up properly in my mail reader (Claws-Mail). > > The strings are: > > > > zh: "____________" > > ja: "_____________________" > > ko: "____________ ______" > > > > Can anybody identfy what's wrong and point me toward a solution? > > > > Thanks. > > > > David > > > > > > This sounds like a font issue to me. Can you see the characters > correctly if you cat the files? Hi David, Using a Gnome terminal and the default character set "Current Local Ansi_X3.4-1968" all the asian characters are bad. Using "Unicode (UTF-8)" all look good. So cat'ing _does_ work properly. On the plus side, being able to display correctly in (1) a Gnome terminal and (2) in Eclipse's source code window (which uses "Monospace") and (3) in a Claws-Mail window indicates that all needed fonts are available. On the minus side, e experiments to change emacs' mule encoding to ascii, chinese, and utf-8 don't seem to have any effect :-< David