[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#351786: Acknowledgement (libstdc++6: bad thousand separator with fr_FR.UTF-8)



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;
}

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: