From: David Relson <relson@osagesoftware.com>
To: "David Sveningsson" <ext@sidvind.com>
Cc: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emacs and asian languages
Date: Sun, 20 Jul 2008 17:57:41 -0400 [thread overview]
Message-ID: <20080720175741.11bd2a7e@osage.osagesoftware.com> (raw)
In-Reply-To: <20080720222915.14733p3d7bvcmfi8@mail.sidvind.com>
On Sun, 20 Jul 2008 22:29:15 +0200
David Sveningsson wrote:
> Citerar "David Relson" <relson@osagesoftware.com>:
>
> > 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 :-<
And in an emacs *shell* window (with "mule...set UTF-8", the strings
show up like:
String sh = "zh: \344\270\226\347\225u"\345\245\275";
which interprets as the octal codes corresponding to UTF-8 char.
David
next prev parent reply other threads:[~2008-07-20 21:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-20 14:12 [gentoo-user] emacs and asian languages David Relson
2008-07-20 20:29 ` David Sveningsson
2008-07-20 21:50 ` David Relson
2008-07-20 21:57 ` David Relson [this message]
2008-07-20 22:34 ` David Sveningsson
2008-07-21 0:09 ` David Relson
2008-07-21 13:08 ` Hong Hao
2008-07-21 13:49 ` David Sveningsson
2008-07-21 22:58 ` David Relson
2008-07-22 6:27 ` David Sveningsson
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=20080720175741.11bd2a7e@osage.osagesoftware.com \
--to=relson@osagesoftware.com \
--cc=ext@sidvind.com \
--cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox