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/>

           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
        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,

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.


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:

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.4.0 : Saturday, 9 October 2021 18:45:46 UTC