New submission from nkxyz <[email protected]>:
print u'测试中文'
睺raceback (most recent call last):
File "C:\Users\__test.py", line 96, in <module>
sys.exit(main())
File "C:\Users\__test.py", line 84, in main
print u'娴嬭瘯涓枃'
IOError: [Errno 28] No space left on device
the unicode must start with a ascii char, then print can works
like this: "print u' 测试中文'"
----------
components: IO
messages: 154724
nosy: nkxyz
priority: normal
severity: normal
status: open
title: print unicode string error in cmd console
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14170>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com