On Tue, 8 Feb 2011 09:23:50 +0100 (CET)
Steffen Kaiser <[email protected]> wrote:

> Hmm:
> Content-Type: text/plain;
>   name*0*=ISO-8859-1''%61%74%74
>   name*1*=UTF-8''Something_else
>   name*2*=BIG5''%FE%45

> I thought the "charset''" syntax is allowed in the first line only?

It is; I replied back to myself to that effect.

[...]

> Maybe a complete split towards MIME::Tools::UTF8 would solve the
> problem and MIME::Tools returns encoded names only.

MIME::Tools does return encoded names only anyway.  I'd like to get
rid of all the MIME::Decoder junk and provide one function that decodes
MIME-encoded words into internal Perl format (essentially Unicode.)

You can then use the standard Encode module to get it out in ASCII,
ISO-8859-1, etc...

Regards,

David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to