Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-08-07 10:40:32


Ken zhang wrote:
>> Hello
>>
>> I hava a UTF8 string reading from TinyXML, I want convert to a
>> Unicode
>> string (wchar_t) for some reasons, How can convert it by boost?

It's not a public Boost API but boost/regex/pending/unicode_iterator.hpp
contains several iterator classes that would help with this (try using
u8_to_u32_iterator to convert to 32-bit code points).

HTH, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net