
----- Original Message -----
From: Beman Dawes <bdawes@acm.org> To: boost@lists.boost.org
The default encoding for narrow and wide characters char and wchar_t in Boost libraries mirrors the default encoding for these characters in C++ and the standard library, which is in turn mirroring the default encoding supplied by various operating systems. It is as simple as that.
Unfortunately under Windows there is no such thing consistent narrow encoding as I had shown above in a simple example. The standard library is not consistent with itself! Keeping ANSI encoding keeps us backward and makes software develop a total nightmare. The current standard of narrow encoding under Windows is broken and it is deprecated by the Microsoft itself. This situation should just be fixed. Boost is too valuable software to ignore the problem and refer to some broken-and-deprecated-standard. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/