blob: 966d5d63831c4a2df777b89b78fd53fe9c82efd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Linux test; before running: export LANG=foo
#include <locale>
#include <iostream>
#include <string>
#include <boost/filesystem/path.hpp>
int main()
{
std::string pathname = "/some/filesystem/path/%%%%";
boost::filesystem::path path(pathname);
std::wcout << path.wstring() << std::endl;
return 0;
}
|