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 21252 - "latin-1" should be an alias for "windows-1252"
Summary: "latin-1" should be an alias for "windows-1252"
Status: RESOLVED WONTFIX
Alias: None
Product: WHATWG
Classification: Unclassified
Component: Encoding (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+encodingspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-11 18:50 UTC by Peter Occil
Modified: 2013-03-12 17:01 UTC (History)
1 user (show)

See Also:


Attachments

Description Peter Occil 2013-03-11 18:50:00 UTC
http://encoding.spec.whatwg.org/#encodings

[[
To get an encoding from a string label, run these steps: 
]]

The string "latin-1" should be added as an alias for "windows-1252".  I see it used as an example in the document PEP 0263 <http://www.python.org/dev/peps/pep-0263/>, and it may also appear elsewhere.
Comment 1 Anne 2013-03-11 19:50:25 UTC
As far as I know there is no browser support for that label. Adding support for it may actually break pages in unexpected ways.
Comment 2 Peter Occil 2013-03-12 16:58:41 UTC
Now I understand: the list shows labels supported by browsers, not necessarily elsewhere.
Comment 3 Anne 2013-03-12 17:01:56 UTC
Right, the assumption is also that if we add or remove from the last we may break the web in the process so we have to be somewhat conservative about it. Or at least only do it as much as implementations are willing.