On Fri, May 18, 2012 at 8:37 AM, Juan Jose Garcia-Ripoll <
juanjose.garciarip...@googlemail.com> wrote:
> Probably this might be the answer: Windows is processing the text in those
> streams, an action that can be reversed
> http://msdn.microsoft.com/library/tw4k6df8%28VS.80%29.aspx
>
I am really puzzled. I have dug through Python's code and there is nothing
special about the input/output operations, yet they do fail in any decent
program. Moreover, _setmode() does not even work properly, and for weird
codepages one actually has to use ReadConsole :-/
http://alfps.wordpress.com/2011/12/08/unicode-part-2-utf-8-stream-mode/#utf8_mode_input_fixed
Juanjo
--
Instituto de FĂsica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list