
15 Nov
2012
15 Nov
'12
6:39 p.m.
"Peter Dimov" <lists@pdimov.com> writes:
Alexander Lamaison wrote:
Every C++ runtime implementation, every C++ standard library implementation and other Boost libraries on Windows assume that 8-bit char strings are encoded using the local ANSI codepage.
Yes they do, and none of them work. UTF-8 is the only 8 bit encoding that works. I know that it is sometimes better, for some values of better, to be consistent and wrong, but mistakes never get fixed if everyone remains consistent and wrong.
Indeed. But the decisions must happen well above the paygrade of an individual library author. It would need at least a Boost-wide policy change or, preferably, agreement among the Windows C++ compiler/library developers. Alex