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 13395 - i18n-ISSUE-76: Clarify 'preferred name' for encodings
Summary: i18n-ISSUE-76: Clarify 'preferred name' for encodings
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5: The Markup Language (editor: Michael(tm) Smith) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 18:11 UTC by I18n Core WG
Modified: 2012-10-06 12:30 UTC (History)
2 users (show)

See Also:


Attachments

Description I18n Core WG 2011-07-27 18:11:38 UTC
4.2. Character encoding declaration
http://www.w3.org/TR/html-markup/syntax.html#character-encoding

"The value must be a valid character encoding name, and must be the preferred name for that encoding, as specified in the IANA [Character Sets] registry."

It would be good to have a link on 'preferred name' to make it clear that this includes the encoding name if there is no preferred name. See:

http://dev.w3.org/html5/spec/infrastructure.html#preferred-mime-name
"The preferred MIME name of a character encoding is the name or alias labeled as "preferred MIME name" in the IANA Character Sets registry, if there is one, or the encoding's name, if none of the aliases are so labeled." 

Otherwise it is misleading. (To be honest, it's still not overly clear. Much as new jargon is best avoided, this may be a case where we need a slightly different term, such as 'html-preferred'.)
Comment 1 Michael[tm] Smith 2012-10-06 12:30:09 UTC
Copied over the current language for the HTML spec -

http://dev.w3.org/html5/markup/syntax.html#encoding-declaration