in reply to Sending UTF-8 e-mail

Are you sure email headers may have an UTF-8 encoding? IIRC you can only use ASCII in headers.

this site at least claims so:

In general, email headers must contain only US-ASCII characters. Headers that contain non US-ASCII characters must be encoded so that they contain only US-ASCII characters. This process involves using either "B"(BASE64) or "Q"(Quoted-Printable) to encode certain characters.
If you could use an alternative encoding in the headers, there would be the slight problem of how to read the "Content-type" header if it could be in any encoding? :-)

Replies are listed 'Best First'.
Re^2: Sending UTF-8 e-mail
by kappa (Chaplain) on Dec 11, 2004 at 12:56 UTC
    That's what he's using MIME::Words for -- ASCII-armouring UTF-8 using either Q or B. As this armour contains the encoding name, headers of a MIME mail could be in any encoding not even similar to what it specified in Content-Type: header. Content-Type is for bodies (and parts thereof).
    --kap