Hi Dear all

  I have implemented a function do convertion myself...
 
  Thanks very much.

Yours Kenneth.Sh



2008/8/7 John Maddock <john@johnmaddock.co.uk>
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 mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users



--
Best Regards,

Ken Zhang
Greatelsoft Co., Ltd.
mailto:ken@greatelsoft.com
http://www.greatelsoft.com
M/P:0086-1350-191-6596