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

(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 UTC