Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21001
| Date | 2012-02-28 14:32 -0500 |
|---|---|
| From | Dave Angel <d@davea.name> |
| Subject | Re: wcout issue |
| References | <490969328934674185BE9272698B1CBD1A8A4E04@ex2a.awr.local> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.257.1330457550.3037.python-list@python.org> (permalink) |
On 02/27/2012 10:26 PM, Ben Held wrote: > Hello, > > After upgrading from Python 2.6 to 3.2 in our application we noticed that after calling Py_Initialize, our output from std::wcout has extra spaces in it: > > wcout<< L"Just a test\n"; > > now prints out: > > J u s t a t e s t > > Any clue why? > > > Ben Held > > Have you tried capturing this output, and looking at it with a hex viewer? Are the characters really space, or could they be nulls? If the latter, perhaps it's outputting ucs2 for Unicode. (I have no further ideas, just trying to provoke some experimentation) -- DaveA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: wcout issue Dave Angel <d@davea.name> - 2012-02-28 14:32 -0500
csiph-web