Sounds like UTF-16 is a dead end: “There are no plans to extend UTF-16 to support a higher number of code points, or the codes [occupied] by surrogates” https://en.wikipedia.org/wiki/UTF-16
Barring surrogates, why would you want/need to support a higher number of code points?
-
-
The future! (I have no idea if there is a risk of Unicode outgrowing its current range, though
) -
$ node -p "require('unicode-11.0.0/Binary_Property/Assigned/code-points.js').length" 276955 $ node -p "require('unicode-11.0.0/General_Category/Unassigned/code-points.js').length" 837157 Plenty of code point space left, even with emojis.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.