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: Kai Großjohann
Subject: Re: MULE shows gibberish; now what?
Date: Sun, 29 Sep 2002 17:44:47 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Clemens Fischer <ino@despammed.com> writes:

> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grojohann) writes:
>
>> Emacs might not auto-detect UTF-8 out of the box.  Does it work if
>> you say C-x RET c utf-8 RET C-x C-f /path/to/the/file RET?
>>
>> If it is important, I'm sure it's possible to find out how to improve
>> UTF-8 autodetection in Emacs.
>
> oh, i'd say this is very important.  for example, i get GPG encoded
> messages where the same funny characters are displayed the OP talked
> about (one funny character plus the normal character one expects to
> see).

Is the funny char \201?  Then it's another problem, not related to
UTF-8.

> this may well be a defficiency in GPG (mailcrypt in my case):  i get
> the cryptogram from an emacs in one characterset, which gets lost in
> transmission, and gets decoded 1:1 from the perspective of the
> sender.  which turns out to be wrong on my receiving side.

Hm.  Are you using the old non-MIME method of using GPG?  If you use
MIME, then the newly committed (to Gnus CVS) PGG might be useful.

> but actually, i didn't understand a thing what you and hilarious ilya
> talked about.  what's a glyph other than what a character looks like,
> anyway?  isn't it a picture of a character?

Ilya expected that Emacs can display a character using a glyph from
another character set.  Hm.  How to explain...  Suppose you have a
Latin-9 document but you don't have a Latin-9 font, only a Latin-1
font.  Then you would like to display the German umlauts using the
Latin-1 fonts.  But Emacs can't do that.  It associates a character
set with each character, and it only uses a font for that character
set for displaying the character.

In Ilya's case, there are different encodings for Cyrillic, and it
would be useful to display a file encoded in iso-8859-5 with a font
that's encoded in KOI-R, say.

So this would amount to using glyph number 42 (from the KOI-R font)
to display character number 27 (from the iso-8859-5 charset).

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)


reply via email to

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