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

Re: nl_langinfo(CODESET) again



Bruno Haible <haible@xxxxxxx>:

> "ISO8859-15"/"ISO-8859-15" is not a MIME registered charsets. You
> cannot send out a mail in this charset. I'd recommend to send it out
> as US-ASCII if it contains only ASCII characters, and UTF-8 (or UTF-7)
> otherwise. Mailers are supposed to support UTF-8 for 1.5 years now.

Thanks. Your reply has made me realise that I don't really have to
convert the return value of nl_langinfo(CODESET) into the name of a
MIME-registered charset. At present Mutt tends to default to the
display/locale charset for sending, but if this bad behaviour were
eradicated, then Mutt could use iconv to convert from "ANSI_X3.4-1968"
into "us-ascii", for example, and it wouldn't even have to know
whether these are really the same charset.

Edmund
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/