This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
RE: libstdc++/9874: filebuf::seekpos fails if codecvt::encoding() <= 0
- From: Pétur Runólfsson <peturr02 at ru dot is>
- To: <paolo at gcc dot gnu dot org>,<gcc-bugs at gcc dot gnu dot org>,<nobody at gcc dot gnu dot org>,Pétur Runólfsson <peturr02 at ru dot is>,<gcc-gnats at gcc dot gnu dot org>
- Date: Sun, 2 Mar 2003 18:40:10 -0000
- Subject: RE: libstdc++/9874: filebuf::seekpos fails if codecvt::encoding() <= 0
> Confirmed. Support for state dependent/variable length
> encodings is not really implemented presently in the library.
I agree that state-dependent isn't supported, but at least for
UTF-8, it is possible to do almost everything except seek, read
from files bigger than BUFSIZ bytes, and read from wcin (and
I've posted a patch that fixes that).
Petur