Re:How we made Haskell search strings as fast as Rust
by stouset on Wednesday March 13, 2019 @07:21PM
(#19384982)
Correct, this is what I meant. UTF-16 can use up to 32 bits to represent a larger number of characters, but cannot uniquely represent 2^32 possible characters.
UCS-2 is limited to only 16-bit representation, making it _impossible_ to express Unicode values outside the basic multilingual plane (BMP).