
When you are using Boost.FileSystem.v3 you can imbue a locale with UTF-8 codecvt facet globally using. boost::path::imbue() Note path::imbue is static member function. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ ----- Original Message -----
From: Emil Dotchevski <emildotchevski@gmail.com> To: boost@lists.boost.org Cc: Sent: Monday, January 23, 2012 10:15 AM Subject: [boost] boost filesystem path as utf-8?
Hello,
I understand that the path class .native() member function's return type differs depending on the platform (wstring on windows, for example.) Is there a way to get the path as a utf-8 string regardless of the platform? Likewise, is there a way to construct a path object from a utf-8 string regardless of the platform?
Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost