3 ms·
there are no surrogates in utf-8. that alone is reason to use it over utf-16
by querulous 13y ago
there are no surrogates in utf-8. that alone is reason to use it over utf-16
- millstone 13y agoI don't get it. Surrogates in UTF-16 are when you have two code units that map to a single code point. In UTF-8, you have that same issue, except it may be two, three, or four code units. So how is UTF-8 better in this respect?