
14 Feb
2010
14 Feb
'10
8:38 p.m.
Peter Dimov wrote:
Peter Dimov wrote:
In the meantime, you could try
boost::filesystem::wpath_traits::imbue( std::locale( ".UTF-8" ) );
Unfortunately, this
http://stackoverflow.com/questions/1745045/stdlocale-breakage-on-macos-10-6-...
says that UTF-8 locales are broken on Mac OS X, so it probably won't work. Sorry. What about making a locale from the C locale replacing the codecvt_facet in the locale with the UTF-8 one from boost. and then imbuing the new locale? Would it look like the C locale but with a UTF-8 codecvt_facet? Don't know if it would work.
Patrick