Comment by account42

Comment by account42 2 days ago

1 reply

Yes, I always roll my eyes when people complain that C strings or C++'s std::string/string_view don't have Unicode support. They are bags of bytes with support for concatenation. Any other transformation isn't going to have a "correct" way to do it so you need to be aware of what you want anyway.

astrange a day ago

C strings are not bags of bytes because they can't contain 0x00.