
15 Jan
2011
15 Jan
'11
12:28 p.m.
On 15/01/2011 10:39, Artyom wrote:
It would be simple to combine a library that uses old policies with new ones.
namespace boost { std::string utf8_to_ansi(std::string const&s); std::string ansi_to_utf8(std::string const&s); std::wstring utf8_to_wide(std::string const&s); std::string wide_to_utf8(std::wstring const&s); }
ANSI doesn't really mean much. It's purely a windows thing. utf8_to_locale, which would take a std::locale object, would make more sense.