Does C++0x support std::wstring conversion to/from UTF-8 byte sequence?
I saw that C++0x will add support for UTF-8, UTF-16 and UTF-32 literals. But what about conversions between the three representations ? I plan to use std::wstring everywhere in my code. But I also need to manipulate UTF-8 encoded data when dealing with files and network. Will C++0x provide also support for these operations ? In C++0x, char16_t and char32_t will be used to store UTF-16 and UTF-32 and not wchar_t . From the draft n2798: 22.2.1.4 Class template codecvt 2 The class codecvt is for use when converting from one codeset to another, such as from wide characters to multibyte characters