Boost logo

Boost :

Subject: Re: [boost] Utf8_codecvt_facet for UTF-16
From: Eric MALENFANT (Eric.Malenfant_at_[hidden])
Date: 2009-02-06 13:45:45


Jeff Flinn wrote:
> Eric MALENFANT wrote:
>> But it seems that the codecvt_facet in
>> boost/libs/detail/utf8_codecvt_facet.cpp only supports UTF-8<=>UCS-4
>> conversions. It thus seems that it can't be used with wchar_t on a
>> platform where sizeof(wchar_t) != 4, right?
>>
>> Am I missing something?
>
> There's a similar codecvt_facet in the serialization library
> under the archive details. Perhaps it can be used?

If you're talking about libs/serialization/src/utf8_codecvt_facet.cpp it
is not different. In fact, this file only #include
../../detail/utf8_codecvt_facet.cpp.


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