W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

[whatwg] Requiring the Encoding Standard preferred name is too strict for no good reason

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 26 Mar 2013 15:46:49 +0200
Message-ID: <CAJQvAufR6zAy8NzGkHyifYpr76bx1XbMrA+1_3vM8A12Mk=4sA@mail.gmail.com>
To: WHATWG <whatwg@whatwg.org>
In various places that deal with encoding labels, the HTML spec now
requires authors to use the name of the encoding from the Encoding
Standard, which means using the preferred name rather than an alias.

Compared to the previous reference to the IANA registry, some names
that work in all browsers but are no longer preferred names are now
errors, such as iso-8859-1 and tis-620. Making broadly-supported names
that were previously preferred names according to IANA now be errors
does not appear to provide any utility to Web authors who use
validators.

Please relax the requirement so that at least previously-preferred
names are not errors.

zcorpan suggested
(http://krijnhoetmer.nl/irc-logs/whatwg/20130325#l-920) allowing
non-preferred names for non-UTF-8 encodings. I'm not familiar with the
level of browser support for all of the non-preferred aliases, but I
could accept zcorpan's suggestion.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 26 March 2013 13:48:00 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 13:48:02 GMT