Replies: 1 comment
-
Yes. A better alternative to all of that would be Boost.Text, but that didn't get into Boost because of Unicode copyright technicalities. The string classes in this library attempt to work with UTF natively but that causes more confusing than helps in most practical use cases. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From what I have seen when stepping through code there is quite a bit computational overhead for the utf logic. I suspect this is not necessary when dealing with pure
ascii
andmultibyte
strings.Perhaps make
small::basic_string<char, N>
asciismall::basic_string<char8_t, N>
utf8small::basic_string<wchar_t, N>
multibytesmall::basic_string<char16_t, N>
utf16Beta Was this translation helpful? Give feedback.
All reactions