W3C home > Mailing lists > Public > public-html@w3.org > December 2011

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 06 Dec 2011 05:03:07 +0000
To: public-html@w3.org
Message-ID: <bug-15076-2495@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:28 UTC