[IPython-dev] Bug: unicode and IPython

Alexander Belchenko bialix at ukr.net
Fri Aug 11 04:31:30 CDT 2006


Ville Vainio пишет:
> On 8/11/06, Alexander Belchenko <bialix at ukr.net> wrote:
> 
>> My console encoding is cp866 (russian windows console):
>>
>> In [1]: import sys
>>
>> In [2]: sys.stdout.encoding
>> Out[2]: 'cp866'
>>
>> In [3]: sys.stdin.encoding
>> Out[3]: 'cp866'
> 
> And what's the encoding in normal python prompt?
> 
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
 >>> import sys
 >>> sys.stdout.encoding
'cp866'
 >>> sys.stdin.encoding
'cp866'
 >>>



More information about the IPython-dev mailing list