$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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.