W3C home > Mailing lists > Public > www-international@w3.org > April to June 2011

Re: Should @maxlength count 16-bits, grapheme clusters or Unicode code points?

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Mon, 20 Jun 2011 19:53:59 +0800
Message-ID: <4DFF34D7.1010405@csail.mit.edu>
To: HTML WG <public-html@w3.org>, WWW International <www-international@w3.org>, Indic Community <public-i18n-indic@w3.org>, CJK discussion <public-i18n-cjk@w3.org>
(11/06/20 17:45), Kang-Hao (Kenny) Lu wrote:
> I was recently surprised by the fact, if I understand correctly, that
> HTML5 counts Unicode code points for @maxlength, which means that a
> surrogate pair would be counted as 1. However, WebKit's
> implementation[1] 

Correction:  [1] https://bugs.webkit.org/show_bug.cgi?id=29292

> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=535043
Received on Monday, 20 June 2011 11:50:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 June 2011 11:50:15 GMT