This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/23792] New: fr_FR.UTF8 thousands separator is not C++ conforming
- From: "rguenth at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sourceware dot org
- Date: Thu, 18 Oct 2018 12:53:56 +0000
- Subject: [Bug localedata/23792] New: fr_FR.UTF8 thousands separator is not C++ conforming
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23792
Bug ID: 23792
Summary: fr_FR.UTF8 thousands separator is not C++ conforming
Product: glibc
Version: 2.27
Status: NEW
Severity: normal
Priority: P2
Component: localedata
Assignee: unassigned at sourceware dot org
Reporter: rguenth at gcc dot gnu.org
CC: libc-locales at sourceware dot org
Target Milestone: ---
Appearantly C++ says it has to be a single character. Testcase:
#include <iostream>
#include <locale>
using namespace std;
int
main()
{
locale::global(locale(""));
cout.imbue(locale());
cout << 1000 << endl;
}
> LANG=fr_FR.UTF8 ./a.out
1�000
> LANG=fr_FR.UTF8 ./a.out | hexdump -c
0000000 1 342 0 0 0 \n
0000006
--
You are receiving this mail because:
You are on the CC list for the bug.