help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MULE shows gibberish; now what?


From: Ilya Zakharevich
Subject: Re: MULE shows gibberish; now what?
Date: Fri, 27 Sep 2002 20:00:27 +0000 (UTC)

[A complimentary Cc of this posting was sent to
Kai
 =?iso-8859-15?q?Gro=DFjohann?=
<address@hidden>], who wrote in article <address@hidden>:
> >> |   character: ¤ (07444, 3876, 0xf24)
> >> |     charset: latin-iso8859-15
> >> |              (Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15): 
> >> ISO-IR-203.)
> >> |  code point: 36
> >> |      syntax: w   which means: word
> >> |    category: l:Latin  
> >> | buffer code: 0x8E 0xA4
> >> |   file code: 0x8E 0xA4 (encoded by coding system emacs-mule)
> >> |     Unicode: 20AC
> >> |        font: -Misc-Fixed-Medium-R-Normal--14-130-75-75-C-70-ISO8859-15
> >
> > So it does not show which codepoint inside the font is chosen!
> 
> You see "code point: 36", and you see that it is the right-hand part
> of the alphabet only.  So 128+36=164 is the actual code point you want.

*I* do not want any *codepoint*.  What I want is that CYRILLIC CAPITAL R
is shown with a glyph which looks like `P', not like `A'.

So you say that the "code point" entry of report is related to the
codepoint of the font chosen to show the glyph?  How is it
recalculated basing on the encoding of the font?

> You can look at the font name, for example.  And you can look at the
> charset and compare that with your font, to see whether they match.

How would I know?  Emacs case the info about the font, not me.  One
cannot deduce the encoding from the name, but one can do it from the
character properties table.

> >> You can tell Emacs to use the foo font for the bar encoding.
> >
> > How?  And how do I tell Emacs in which encoding this font actually is?
> 
> You can't.

Wow!  So MULE is absolutely useless indeed...  I knew that it makes it
extremely hard to edit 8-bit text, but I was told that this is the
price to pay for internationalization.  Now it turns out that it also
cannot *show* foreign text...

> >> Maybe
> >> you have (accidentally) told Emacs to use a KOI-R font for the
> >> iso-8859-5 encoding, or something like this.
> >
> > With -no-init-file?  I doubt it.  ;-)
> 
> With a X11 resource, for instance.  You probably set the font for
> your X11 apps somewhere (otherwise it would be "fixed").

*menuFont:      -*-courier-medium-r-*-*-18-*-*-*-*-*-*-*
Emacs*Font:     -misc-fixed-bold-*-*-*-*-140-75-75-*-*-*-1
Emacs*paneFont: -*-courier-bold-r-*-*-18-180-*-*-*-*-*-*
Emacs*selectionFont:    -*-courier-bold-r-*-*-16-180-*-*-*-*-*-*
Emacs.shell.menu.popup.font:    -*-courier-bold-r-*-*-18-180-*-*-*-*-*-*
Emacs.shell.pane.menubar.font:  -*-courier-bold-r-*-*-16-180-*-*-*-*-*-*

Ilya


reply via email to

[Prev in Thread] Current Thread [Next in Thread]