Unicode education in Schools

via Unicode unicode at unicode.org
Fri Aug 25 01:29:39 CDT 2017


Use String.codePointAt() etc.



El ago. 24, 2017 10:42 PM -0700, Shriramana Sharma via Unicode <unicode at unicode.org>, escribió:
> IIUC the limitation seems to be only that functions such as "charAt" do not recognize that surrogates aren't valid characters:
>
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charAt via https://stackoverflow.com/a/8716157/1503120.
>
> This is a problem of many 32-bit char based toolkits too and doesn't (can't?) have an efficient solution for SMP without counting the surrogates (and checking them). Right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unicode.org/pipermail/unicode/attachments/20170824/5850c4a8/attachment.html>


More information about the Unicode mailing list