views:

1673

answers:

1

Is there a way to use boost::filesystem::path with unicode file paths? In particular I'd like to use it with std::wstring instead of std::string.

I'm working on the windows platform and I need to sometimes process a filepath that has a unicode char in it.

+6  A: 

Looking at the header file, I see a wpath that's templated with std::wstring.

Note: wpath has since been deprecated in boost::filesystem3
Kurt