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