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 16990 - I18N-ISSUE-148: Code-point length shouldn't be number of code units
Summary: I18N-ISSUE-148: Code-point length shouldn't be number of code units
Status: VERIFIED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-07 18:52 UTC by Addison Phillips
Modified: 2014-03-06 23:18 UTC (History)
4 users (show)

See Also:


Attachments

Description Addison Phillips 2012-05-07 18:52:17 UTC
The HTML5 editor's draft of 2012-03-20, section 2.1.6 Character encodings, defines:

"The code-point length of a string is the number of code units in that string."

Mixing code points and code units in this way is really confusing and will lead to bugs. Either there should be a code-unit length being the number of code units in the string, or a code-point length being the number of code points.
Comment 1 Ian 'Hixie' Hickson 2012-05-08 00:23:17 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 comments.
Comment 2 contributor 2012-05-08 00:24:40 UTC
Checked in as WHATWG revision r7095.
Check-in comment: make terminology less confusing
http://html5.org/tools/web-apps-tracker?from=7094&to=7095
Comment 3 Addison Phillips 2014-03-06 23:18:45 UTC
I18N is satisfied by these changes. Thank you.