Why does std::u32string exist?
-
-
You can use byte indices into UTF-8 or UTF-16 to store selection/caret boundaries. Since caret boundaries do not correspond to Unicode code point boundaries (e.g. combining characters) UTF-32 doesn’t buy you anything.
-
good point, and it's easy to splice codepoints in and out of UTF-8. I should have been using UTF-8 the whole time!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.