]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 | ||
8 | int main() | |
9 | { | |
1e59de90 | 10 | std::string pathname = "/some/filesystem/path/%%%%"; |
7c673cae | 11 | |
1e59de90 | 12 | boost::filesystem::path path(pathname); |
7c673cae | 13 | |
1e59de90 | 14 | std::wcout << path.wstring() << std::endl; |
7c673cae | 15 | |
1e59de90 | 16 | return 0; |
7c673cae | 17 | } |