diff options
Diffstat (limited to 'libs/filesystem/test/issues/10205.cpp')
-rw-r--r-- | libs/filesystem/test/issues/10205.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/filesystem/test/issues/10205.cpp b/libs/filesystem/test/issues/10205.cpp new file mode 100644 index 000000000..4cf5e728d --- /dev/null +++ b/libs/filesystem/test/issues/10205.cpp @@ -0,0 +1,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; +} |