String.prototype.[de]normalize and .isCharXxx are needed

Herby Vojčík herby at
Tue Jan 17 04:06:10 PST 2012

Norbert Lindenberg wrote:
> Nothing planned at this point. Unicode normalization would be a
> natural candidate for the Globalization API, but it's not in scope
> for version 1. Support for Unicode character properties probably

Maybe it could be added?

> should be part of regular expressions, as it is in Perl, PHP, Java,
> and other platforms; there was a proposal for ES4 [1], but it hasn't
> been taken up for ES5 or Harmony.

Well, string comparision sans accents is a sensible use case. To do it 
via Unicode normalization and then removing all accents is 
straightforward. Should it (the character properties, however done) not 
be raised?

> [1]
>  Norbert
> On Jan 3, 2012, at 4:51 , Herby Vojčík wrote:
>> Hello,
>> in certain application, Unicode de/normalization and possibility to
>> query what group the character is is vital, but ECMAScript does not
>> have these methods nor did I see them in any of the proposals?
>> Are they planned? Or can they be added?
>> Thanks, Herby

More information about the es-discuss mailing list