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 19395 - Name of UTF-8 should be "UTF-8", not "utf-8"
Summary: Name of UTF-8 should be "UTF-8", not "utf-8"
Status: RESOLVED WONTFIX
Alias: None
Product: WHATWG
Classification: Unclassified
Component: Encoding (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+encodingspec
URL:
Whiteboard:
Keywords:
: 23650 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-09 17:04 UTC by Aryeh Gregor
Modified: 2013-10-28 12:20 UTC (History)
2 users (show)

See Also:


Attachments

Description Aryeh Gregor 2012-10-09 17:04:51 UTC
Probably goes for other encodings too, but this is the one that came up in the tests I was writing for DOM.  The spec says "utf-8" is the proper encoding name, but .characterSet seems to return "UTF-8" in Gecko and WebKit, and "unicode" in IE.  So "UTF-8" matches browsers better.
Comment 1 Anne 2012-10-10 11:20:50 UTC
It has been suggested that per http://dump.testsuite.org/encoding/label-test.html IE9 and IE10 return utf-8. IE8 just gives undefined.
Comment 2 Aryeh Gregor 2012-10-10 11:25:42 UTC
I'm okay with going with IE/Opera, given that it turns out they agree.
Comment 3 Anne 2012-10-11 15:12:05 UTC
https://bugzilla.mozilla.org/show_bug.cgi?id=799917 has additional discussion. Likely this will be WONTFIX.
Comment 4 Anne 2012-10-22 12:56:54 UTC
Unless Gecko declares their experiment as failed, this is WONTFIX.
Comment 5 Anne 2013-10-28 12:20:58 UTC
*** Bug 23650 has been marked as a duplicate of this bug. ***