Unicode String Literals | Learn C++
If you read and convert ‘multibyte’ or Unicode strings in the wrong way you may have a loss of characters, because of Unicode string-to-string or wstring to string operations. As a result, we have different string types. This started with string, then wstring, u16string, u32string, UnicodeString, etc. Unicode string literals are the most broadly compatible strings that we can use in C++.
0