Is the u8 string literal necessary in C++11
The encoding of “Test String” is the implementation-defined system encoding (the narrow, possibly multibyte one). The encoding of u8″Test String” is always UTF-8. The examples aren’t terribly telling. If you included some Unicode literals (such as \U0010FFFF) into the string, then you would always get those (encoded as UTF-8), but whether they could be expressed … Read more