This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10258 - Spec should be more careful about UTF-16, UTF-16BE and UTF-16LE
Summary: Spec should be more careful about UTF-16, UTF-16BE and UTF-16LE
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-29 07:22 UTC by Henri Sivonen
Modified: 2010-10-04 14:28 UTC (History)
4 users (show)

See Also:


Attachments

Description Henri Sivonen 2010-07-29 07:22:15 UTC
The BOM sniffing tables say the encoding is UTF-16BE or LE. Those are by definition BOMless, so the spec should say big-endian UTF-16 and little-endian UTF-16.

In various places, the are checks if the encoding of something is UTF-16. Those checks should probably also check for UTF-16BE and UTF-16LE.
Comment 1 Ian 'Hixie' Hickson 2010-08-16 21:38:31 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's pedantic comments.
Comment 2 contributor 2010-08-16 21:39:11 UTC
Checked in as WHATWG revision r5301.
Check-in comment: UTF-16 terminology.
http://html5.org/tools/web-apps-tracker?from=5300&to=5301