[whatwg] Default encoding to UTF-8?

Glenn Maynard glenn at zewt.org
Mon Dec 5 10:19:55 PST 2011


On Mon, Dec 5, 2011 at 12:57 PM, Sergiusz Wolicki <sergiusz at wolicki.com>wrote:

> No. As far as I understand, HTML5 defines US-ASCII to be the default and
> requires that any other encoding is explicitly declared. I do like this
> approach.
>

The default is implementation-defined, not ASCII.  See step 8 of:
http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#determining-the-character-encoding

-- 
Glenn Maynard



More information about the whatwg mailing list