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 24120 - The Encoding Standard only recognizes utf-16le and utf-16be. This should just refer to those if this is needed at all.
Summary: The Encoding Standard only recognizes utf-16le and utf-16be. This should just...
Status: RESOLVED MOVED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: 2016 Q1
Assignee: Anne
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-16 23:00 UTC by contributor
Modified: 2015-09-01 06:04 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2013-12-16 23:00:02 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html
Multipage: http://www.whatwg.org/C#a-utf-16-encoding
Complete: http://www.whatwg.org/c#a-utf-16-encoding
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html

Comment:
The Encoding Standard only recognizes utf-16le and utf-16be. This should just
refer to those if this is needed at all.

Posted from: 2.31.25.203 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:29.0) Gecko/20100101 Firefox/29.0
Comment 1 Anne 2013-12-16 23:00:50 UTC
Is it really too problematic to refer to either utf-16be or utf-16be? I could introduce a term for both of them in the Encoding Standard I suppose...
Comment 2 Ian 'Hixie' Hickson 2013-12-16 23:38:32 UTC
it's not just UTF-16BE or UTF-16LE, it's "UTF-16BE or UTF-16LE, regardless of whether a BOM is present, and regardless of what label is used". Or as the spec puts it, "any variant of UTF-16: UTF-16LE or UTF-16BE, regardless of the presence or absence of a BOM".

What's the problem with having a term defined here? I don't understand.
Comment 3 Anne 2013-12-16 23:42:55 UTC
Once you have an encoding, BOMs or labels are irrelevant. BOMs and labels are used to decode and get an encoding.
Comment 4 Ian 'Hixie' Hickson 2014-01-02 20:47:38 UTC
I understand that that's true in theory, but this is one of those places where the spec uses a sledgehammer to drive the point home because people kept having questions about it.
Comment 5 Anne 2014-01-06 14:04:03 UTC
I think they had questions about it because at the time the Encoding Standard was less established. I'm fine with resolving this for later though.
Comment 6 Anne 2015-09-01 06:04:03 UTC
https://github.com/whatwg/html/pull/66