$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [serialization?] converting utf8 string to unicode wstring
From: Igor R (boost.lists_at_[hidden])
Date: 2009-10-08 15:54:24
> Er... I thought UTF8 *is* a form of Unicode?
Well, kind of..
Looks like you are trying to convert UTF8 to UTF16, for what reason?
>
Because there're lots of API that expect "real" unicode, i.e. wide-character
strings (wchar_t *).
But after thinking about it again... all the places, where I need it
converted, are in windows-specific code anyway, so I'd better keep it as is,
and where needed I'll just use MultiByteToWideChar().