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?
Received on Fri Aug 25 2017 - 01:31:31 CDT
This archive was generated by hypermail 2.2.0 : Fri Aug 25 2017 - 01:31:31 CDT