On Fri, Nov 27, 2015 at 2:45 PM, OBones <obones at free.fr> wrote:

> Dominique Devienne wrote:
>
>> That's UTF-16, while a wstring is expected to be in the current locale
>> (which won't be UTF-16 on Windows).
>>
> Excuse me, but the std::wstring type is based on wchar and has no codepage
> assigned to it.
> And under windows, that's the standard type to use to talk to the W suffix
> APIs, thus giving them the UTF-16 that they are expecting.
>

Apologies to Dan, and thank you OBones for setting the record straight. I
was wrong, -1 to me. --DD

Reply via email to