[whatwg] Handling of invalid UTF-8

Glenn Maynard glenn at zewt.org
Thu Aug 29 15:59:19 PDT 2013

On Thu, Aug 29, 2013 at 5:29 PM, Cameron Zemek <grom358 at gmail.com> wrote:

> In the spec preview it had a section about UTF-8 decoding and the handling
> of invalid byte sequences,
> http://dev.w3.org/html5/spec-preview/infrastructure.html#utf-8 . But I
> have
> noticed this section has been removed from the current version. So what
> algorithm is used for handling of invalid UTF-8 byte sequences? Or this no
> longer part of the HTML 5 specification?

http://www.whatwg.org/specs/web-apps/current-work/#dependencies has a
reference to the Encoding spec, which is where the UTF-8 decoding logic
lives now: http://encoding.spec.whatwg.org/#utf-8

Glenn Maynard

More information about the whatwg mailing list