Enco- | Kind | Type | Associated | Examples |
ding | character | |||
prefix | encoding | |||
none | array of n const char | ordinary literal encoding | "ordinary string" R"(ordinary raw string)" | |
L | array of n const wchar_t | wide literal encoding | L"wide string" LR"w(wide raw string)w" | |
u8 | array of n const char8_t | UTF-8 | u8"UTF-8 string" u8R"x(UTF-8 raw string)x" | |
u | array of n const char16_t | UTF-16 | u"UTF-16 string" uR"y(UTF-16 raw string)y" | |
U | array of n const char32_t | UTF-32 | U"UTF-32 string" UR"z(UTF-32 raw string)z" |