This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12062] wide chars problems
- From: "peturr02 at ru dot is" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2003 12:31:36 -0000
- Subject: [Bug libstdc++/12062] wide chars problems
- References: <20030826101125.12062.jm@bourguet.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12062
------- Additional Comments From peturr02 at ru dot is 2003-09-02 12:31 -------
> $ LANG=C ./wcout | od -t x1
> wcout locale: C
> wcout failed
> output to file failed
This is a dup of PR 10534. The documentation should probably mention this.
> $ LANG=fr_FR ./wcout | od -t x1
> wcout locale: fr_FR
> wcout failed
> output to file failed
Same as above.
> $ LANG=fr_FR.utf8 ./wcout | od -t x1
> wcout locale: fr_FR.utf8
> wcout failed
> Trying to output to file
There is no support for multi-byte encodings (such as utf-8) in 3.3.
This will (hopefully) be fixed in 3.4. Output already works.
> Why does this fail on wcout but seem to succeed when writing to a file.
> Why doesn't the file contain a 0a character?
This is a dup of PR 9182.