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: "ahlgren at lysator dot liu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2004 14:06:54 -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 ahlgren at lysator dot liu dot se 2004-05-30 14:06 -------
(In reply to comment #7)
> This works for me on powerpc-apple-darwin. What is the error you get.
Using wifstream it doesn't print 'ett smörgåsbord', only 'ett sm'! With wcin
however, everything works fine, it prints 'ett smörgåsbord' (or whatever I
echo).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15733