[Bug 15076] New: Make UAs use UTF-8 as fallback encoding if the page has a HTML5 doctype

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15076

           Summary: Make UAs use UTF-8 as fallback encoding if the page
                    has a HTML5 doctype
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://dev.w3.org/html5/spec/parsing#encoding-sniffing
                    -algorithm
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: xn--mlform-iua@xn--mlform-iua.no
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Quoting Kornel LesiƄski:

> Could <!DOCTYPE html> be an opt-in to default UTF-8 encoding?
> 
> It would be nice to minimize number of declarations a page needs to include.

http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-December/034065.html

Such a UA behaviour would, presumably, involve a formalizing a new step in the
encoding sniffing algorithm, between the current step 5  and step 6. In
essence, the UA would default to UTF-8 if the other meta data fails - see:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-December/034069.html

Presumably, UAs would need to change before the spec could officially allow
authors to rely on the DOCTYPE.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 6 December 2011 05:35:26 UTC