On Thu, Oct 24, 2013 at 3:31 PM, Mathias Bynens <[email protected]> wrote:
> Imagine you’re writing a JavaScript library that escapes a given string as an 
> HTML character reference, or as a CSS identifier, or anything else. In those 
> cases, you don’t care about grapheme clusters, you care about code points, 
> cause those are the units you end up escaping individually.

Is that really a common operation? I would expect formatting,
searching, etc. to dominate. E.g. whenever you do substr/substring you
would want that to be grapheme-cluster aware.


-- 
http://annevankesteren.nl/
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to