ISSUE-77: HTTP and defaulting to UTF-16LE

HTTP and defaulting to UTF-16LE

State:
CLOSED
Product:
html
Raised by:
Richard Ishida
Opened on:
2011-07-22
Description:
8.2.2.2 Character encodings
http://www.w3.org/TR/html5/parsing.html#character-encodings-0

"When a user agent is to use the UTF-16 encoding but no BOM has been found, user agents must default to UTF-16LE."

If the HTTP header declares the file to be UTF-16BE, which I believe it can, and in which case a BOM should *not* be used, then I think that this would not be true. If the HTTP header declares the file to be UTF-16, then there must be a BOM, so I assume that this is a recovery mechanism if someone does declare UTF-16 in HTTP but omits the BOM. I'd think that some kind of error message would be in order though.
Related Actions Items:
No related actions
Related emails:
  1. Re: [I18N-ACTION-150] Review of HTML open issues (from ishida@w3.org on 2014-02-21)
  2. [I18N-ACTION-150] Review of HTML open issues (from addison@lab126.com on 2014-02-18)
  3. [Bug 13396] i18n-ISSUE-77: HTTP and defaulting to UTF-16LE (from bugzilla@jessica.w3.org on 2011-11-18)
  4. [Bug 13396] i18n-ISSUE-77: HTTP and defaulting to UTF-16LE (from bugzilla@jessica.w3.org on 2011-08-17)
  5. [Bug 13396] i18n-ISSUE-77: HTTP and defaulting to UTF-16LE (from bugzilla@jessica.w3.org on 2011-08-17)
  6. [Bug 13396] i18n-ISSUE-77: HTTP and defaulting to UTF-16LE (from bugzilla@jessica.w3.org on 2011-08-04)
  7. [Bug 13396] i18n-ISSUE-77: HTTP and defaulting to UTF-16LE (from bugzilla@jessica.w3.org on 2011-07-29)
  8. [Bug 13396] i18n-ISSUE-77: HTTP and defaulting to UTF-16LE (from bugzilla@jessica.w3.org on 2011-07-28)
  9. [Bug 13396] New: i18n-ISSUE-77: HTTP and defaulting to UTF-16LE (from bugzilla@jessica.w3.org on 2011-07-27)
  10. [minutes] Internationalization WG telecon 2011-07-27 (from ishida@w3.org on 2011-07-27)
  11. Fwd: Re: HTML5 review comments (from ishida@w3.org on 2011-07-25)
  12. Re: About to raise lots of new issues! (from ishida@w3.org on 2011-07-25)
  13. Re: About to raise lots of new issues! (from duerst@it.aoyama.ac.jp on 2011-07-25)
  14. I18N-ISSUE-77: HTTP and defaulting to UTF-16LE [HTML5-prep] (from sysbot+tracker@w3.org on 2011-07-22)

Related notes:

[aphillip]: accepted for HTML5 LC

27 Jul 2011, 15:52:41

closed per wg consensus.

Addison Phillips, 27 Feb 2014, 21:25:39

Display change log ATOM feed


Addison Phillips <addisonI18N@gmail.com>, Chair, Richard Ishida <ishida@w3.org>, Bert Bos <bert@w3.org>, Fuqiao Xue <xfq@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 77.html,v 1.1 2023/07/19 12:02:06 carcone Exp $