31 ms·
> Even worse, you may not even know it fails above the BMP, because those characters are so rare you might never test with them. I don't think this is too rele
by userbinator 13y ago
> Even worse, you may not even know it fails above the BMP, because those characters are so rare you might never test with them.
I don't think this is too relevant because anyone who claims to know UTF-16 should know about the surrogates. And if you are handling mostly Asian text (which is where UTF-16 is more likely to be chosen), then those high characters become a lot more common.