Closed GoogleCodeExporter closed 9 years ago
#coding=utf-8 text = u'wood是教科书'.encode('utf-8') print text print text.decode('utf-8') 我的是ulipad4.0 上面的代码竟然报错了,。。。狂汗
Original issue reported on code.google.com by shuxian...@gmail.com on 22 Apr 2011 at 9:37
shuxian...@gmail.com
如果是直接在ulipad中运行,不能直接输出unicode。要转为其它� ��编码。可以在命令行下运行。
Original comment by limo...@gmail.com on 22 Apr 2011 at 10:47
limo...@gmail.com
所以不是一个bug.
Original issue reported on code.google.com by
shuxian...@gmail.com
on 22 Apr 2011 at 9:37