I18N-ISSUE-148: Code-point length shouldn't be number of code units [HTML5-prep]

I18N-ISSUE-148: Code-point length shouldn't be number of code units [HTML5-prep]

http://www.w3.org/International/track/issues/148

Raised by: Norbert Lindenberg
On product: HTML5-prep

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.

Received on Wednesday, 21 March 2012 04:53:28 UTC