Thank You very much for the review and the inputs.
One minor thing. In th be docs (http://cppcms.com/files/nowide/html/) we read: boost::nowide::widen <http://cppcms.com/files/nowide/html/namespaceboost_1_1nowide.html# a6baacc1bb80c134a2ce37f13977b5500> returns std::string.
I thing is thsould be std::wstring?
Regards, &rzej;
Actually this version is for fixed user buffer - function without allocation. So it is right one. Another versions return std::wstring
But when I look into the reference page: http://cppcms.com/files/nowide/html/namespaceboost_1_1nowide.html#a6baacc1bb...
I cannot see any overload returning `std::string`?
Regards, &rzej;
These: std::string narrow (wchar_t const *s) std::wstring widen (char const *s) std::string narrow (std::wstring const &s) std::wstring widen (std::string const &s) See: http://cppcms.com/files/nowide/html/namespaceboost_1_1nowide.html#a13b4f6f7f... Artyom