This topic created in 5404 days ago, the information mentioned may be changed or developed.
python版本 2.7.2
用utf-8
raw_input(u'中文')
#中文变乱码
提示
难道raw_input里不能输入中文?
2 replies 1970-01-01 08:00:00 +08:00  | | 1 c Jul 25, 2011 raw_input(u'中文'.encode('gbk'))
中文CMD编码默认为 |
 | | 2 yhdjw Jul 25, 2011 谢谢大大啊 可以了 |