This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14623] UTF-8 encoding, wcout vs. file
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2004 09:25:10 -0000
- Subject: [Bug libstdc++/14623] UTF-8 encoding, wcout vs. file
- References: <20040317231656.14623.bkoz@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2004-03-18 09:25 -------
Thanks for your feedback Pétur.
Indeed, I have just tried calling std::ios::sync_with_stdio(false) at the outset
and it leads to three identical outputs (printf, wcout, myfile), otherwise, the
second is different.
Yesterday, I was looking again at DR 49. Which is your best interpretation?
Mine is that we are definitely allowed not converting in wcin/wcout/wcerr
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14623