the attached C program is OK : it outputs c2 a0 which seems OK. So it looks like libstdc++ is truncating multibyte thousand sep char to the first byte.
and indeed : virtual char std::numpunct<char>::do_thousands_sep() const; WTF ? -- GNOME http://www.gnomefr.org/ LibGTop http://directory.fsf.org/libgtop.html
#include <stdio.h> #include <locale.h> int main() { printf("%'d\n", 1024); puts(setlocale(LC_ALL, "")); printf("%'d\n", 1024); return 0; }
signature.asc
Description: Ceci est une partie de message numériquement signée