
20 Jan
2011
20 Jan
'11
7:20 a.m.
...elision by patrick... This is where the (Boost.)Locale and (Boost.)Unicode libraries could provide insight into how to extend the std::string interface or be the testbed for new additions to the standard library related to string manipulation. (Provided, the standard adopts UTF-8 as a native encoding. Or does it already ?) In recent C++ specs you can specify u8"a string to be considered encoded in utf-8". If a wide char string literal is next to a u8 string literal
On 01/19/2011 11:15 AM, Matus Chochlik wrote: they don't concatenate, it's an error. There's of course all the locale stuff including codecvt_utf8. A byte must be large enough to hold an 8 bit utf-8 code unit. That's all that's in the C++ spec so far. Patrick