
26 May
2010
26 May
'10
4:55 a.m.
--- On Wed, 5/26/10, Adam Merz <adammerz@hotmail.com> wrote:
From: Adam Merz
And yet MSVC10 comes with a (presumably standard-compliant) codecvt that does exactly that: http://msdn.microsoft.com/en-us/library/ee292142.aspx
In fact, it comes with codecvts that convert to and from UCS-4, UCS-2, UTF-16 and UTF-8, UTF-16LE, UTF-16BE: http://msdn.microsoft.com/en-us/library/ee336489.aspx
Are these possible only because of functionality added in C++0x?
It is because the compiler has knowledge on std::mbstate_t which I do not have. But according to latest discussions it looks like I'll be able to implement full UTF-16 support in codecvt Artyom