Posts

Showing posts from March 25, 2019

absent std::u8string in C++11

Image
4 1 Why C++11 provides std::u16string and std::u32string and not std::u8string ? We need to implement the utf-8 encoding or using additional libraries? c++11 unicode utf-8 share | improve this question asked Mar 20 '17 at 9:48 Sergio 160 1 10 5 Think again what UTF-8 is... Is it not a multi- byte encoding? Now what datatype in C++ typically represents a byte? Is it not char