Boost logo

Boost :

Subject: Re: [boost] Review Request: Boost.Locale
From: Adam Merz (adammerz_at_[hidden])
Date: 2010-05-25 19:02:01


Artyom <artyomtnk <at> yahoo.com> writes:
> This is exactly the reason you can't implement utf-8 - utf-16 codepage
> conversion using codecvt facet.

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?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk