This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/12062] wide chars problems


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]