$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] boost::filesystem::path in UTF-8 on Windows
From: Igor R (boost.lists_at_[hidden])
Date: 2011-11-04 11:28:39
> If I have a string that is in UTF-8, how do I tell the path constructor?
>
> Â Â path p1 ("my utf8 data", SOME_CODECVT);
>
> I think it is a matter of passing the right SOME_CODECVT. What is it?
> The path::value_type is wchar_t, according to the docs.
On Windows you should convert it to utf16.