This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/15733] getline(wifstream, wstring) seems to be broken with UTF-8
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2004 14:02:05 -0000
- Subject: [Bug libstdc++/15733] getline(wifstream, wstring) seems to be broken with UTF-8
- References: <20040530135122.15733.ahlgren@lysator.liu.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2004-05-30 14:02 -------
Strictly speaking, without 'test.txt' we cannot reproduce the PR and cannot do
much about it.
However, you are reporting that things work ok with 'fin', *not* with 'wcin',
right? This is expected, since, 'wcin' and the other predefined streams are
by default synched with stdio and *cannot* support encoding and decoding.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15733