4 ms·
Pedantically, UTF-16 has some code points out of order. The way I've always seen it implemented results in more operations spent on some points than others. S
by Zamicol 2y ago
Pedantically, UTF-16 has some code points out of order. The way I've always seen it implemented results in more operations spent on some points than others. See this example C code:
https://icu-project.org/docs/papers/utf16_code_point_order.html https://icu-project.org/docs/papers/utf16_code_point_order.h...
UTF-8 doesn't suffer from this design flaw.