filesystem/test/issues/10205.cpp

18 lines
322 B
C++

// 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;
}