[Bug c++/59598] very simple code using file open for read
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 10 22:48:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59598
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #52 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think you will find that you need to open the file in binary mode and that
might help you out. And that the char is 8bit characters so the you need to
look up the encoding format for UTF-8.
More information about the Gcc-bugs
mailing list