4 ms·
I don't see how UCS-2 helps with iteration; in particular, it means that characters like emojis get represented as surrogate pairs so you're right back to havin
by al2o3cr 8y ago
I don't see how UCS-2 helps with iteration; in particular, it means that characters like emojis get represented as surrogate pairs so you're right back to having to iterate over the whole string to find a real character boundary.