Hi,

* Andrey R. Urazov [05/11/02 10:44:23 CEST] wrote:
> it's quite natural that heading of a message be written in the same
> language as the message body. For that reason I often get letters with
> subject lines or "From" fields in Russian encoded in some encoding
> including codes for Cyrillic characters. But there is a problem handling
> such headers. Since there are lines in message headers specifying
> message body encoding, mutt can do (and it does!) right conversion to
> the display charset. But it does never convert header lines to match my
> terminal encoding and as a result I always get garbage on the screen
> instead of Cyrillic letters.

Headers have to encoded word by word if there's something in
them, which has to encoded. Usually, you should see what
character set was used to encode it. If there's something
going wrong - as in your case - have a look at 'iconv-hook'.

> I wonder if the standards defining format of e-mail messages allow for
> usage of non-ASCII characters in mail headers.

No, and that's why they have to be encoded. The character set
for header encoding does not need to be the same as for the
body.

Cheers, Rocco.

Reply via email to