我用过这个:
u = unicode(text, 'utf-8')
但是在Python 3中遇到错误(或者......也许我只是忘了包含一些东西):
NameError: global name 'unicode' is not defined
谢谢.
python unicode python-3.x
python ×1
python-3.x ×1
unicode ×1