From: John Delacour (JD@BD8.COM)
Date: Sun Nov 02 2003 - 11:58:18 EST
At 5:36 pm +0100 2/11/03, Lars Marius Garshol wrote:
> * Terje Bless
> |
> | If it is not registered with IANA, it is not a valid value for the
> | «charset» parameter to the MIME «Content-Type» header field.
>
> True. However, some software will ignore hyphens in charset names in
> order to make bad encoding declarations like "utf8" work properly. Web
> browsers are one example of this.
Yes. If there were any sort of consistency in the way charset are
“officially” named, it might be reasonable to stick to the letter
of the law, but there is not, and the use of “utf8” (either case)
is so commonly used and allowed for in all sorts of programs (cf.
Encode.pm) that it would seem sensible to accept it. If “l1” is
acceptable for “ISO-8859-1”, as it is, though it is not in
Apple’s TEC listing, then “utf8” etc. ought to be fairly
predictable anomalies.
JD
This archive was generated by hypermail 2.1.5 : Sun Nov 02 2003 - 12:29:04 EST