public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/23792] New: fr_FR.UTF8 thousands separator is not C++ conforming
@ 2018-10-18 12:54 rguenth at gcc dot gnu.org
  2018-10-18 12:54 ` [Bug localedata/23792] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2018-10-18 12:54 UTC (permalink / raw)
  To: libc-locales

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-03 17:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18 12:54 [Bug localedata/23792] New: fr_FR.UTF8 thousands separator is not C++ conforming rguenth at gcc dot gnu.org
2018-10-18 12:54 ` [Bug localedata/23792] " rguenth at gcc dot gnu.org
2018-10-18 12:55 ` rguenth at gcc dot gnu.org
2018-10-18 20:01 ` jwakely.gcc at gmail dot com
2018-10-18 20:31 ` fweimer at redhat dot com
2018-10-19 11:52 ` jwakely.gcc at gmail dot com
2018-10-19 18:46 ` carlos at redhat dot com
2024-01-03 16:31 ` maiku.fabian at gmail dot com
2024-01-03 17:18 ` maiku.fabian at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).