libstdc++/9874: filebuf::seekpos fails if codecvt::encoding() <= 0
Pétur Runólfsson
peturr02@ru.is
Sun Mar 2 18:46:00 GMT 2003
The following reply was made to PR libstdc++/9874; it has been noted by GNATS.
From: =?iso-8859-1?Q?P=E9tur_Run=F3lfsson?= <peturr02@ru.is>
To: <paolo@gcc.gnu.org>,
<gcc-bugs@gcc.gnu.org>,
<nobody@gcc.gnu.org>,
=?iso-8859-1?Q?P=E9tur_Run=F3lfsson?= <peturr02@ru.is>,
<gcc-gnats@gcc.gnu.org>
Cc:
Subject: RE: libstdc++/9874: filebuf::seekpos fails if codecvt::encoding() <= 0
Date: Sun, 2 Mar 2003 18:40:10 -0000
> 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
More information about the Gcc-prs
mailing list