This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Imbue does not honour encoding


Am Samstag, 18. November 2006 10:01 schrieb Paolo Carlini:
> Hi,
>
> >Hi I don't know whether this is a feature or a bug but I suspect it
> > to be the latter.
>
> More specifically, our cin, wcin, etc, are *not* converting by
> default,because are synced char by char with stdio (we consider this a
> good compromise, in general). Thus, in order to enable conversion, you
> have to call std::ios::sync_with_stdio(false) at the beginning of your
> program. Alternately, all the filestreams are always converting.


Thanks for response. That makes it clear.

Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]