Afficher un message
Vieux 24/02/2008, 00h24   #23
James Kanze
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wcout, wprintf() only print English

On Feb 23, 5:47 pm, Jeff Schwab <j...@schwabcenter.com> wrote:
> Ioannis Vranos wrote:
> > It looks like GCC has the opposite stuff, cout, cin, string
> > work as wcout, wcin, wstring and vice versa! Bug?

> ...
> > Conclusion: It appears GCC has the wide character stuff
> > messed up, or I am missing important knowledge.


> You and me both. I would be very surprised if this were a GCC
> bug (I'm using 4.2.4 pre-release), but I'm guessing somebody
> here knows a lot more about this than we do, and is willing to
> enlighten us.


It wouldn't surprise me if g++ (or any other compiler) had some
bugs in this. It's far from trivial. But for the moment,
nothing you've show seems particularly surprising to me. (In
fact, I'm sure that there is one bug in g++. Most of what is
involved here is implementation defined, and the standard says
that a conforming implementation must document its choices. I
haven't found any such documentation for g++.)

--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
  Réponse avec citation
 
Page generated in 0,04827 seconds with 9 queries