阅读背景:

SyntaxError:非ascii字符'\xe3' in file G:\test。在第2行,但没有编码声明。

来源:互联网 

I have a simple script.

我有一个简单的脚本。

# -*- encoding : utf-8 -*-
episode_title = "ザ・ロック(日本語吹替版)".decode('utf-8')
print episode_title.encode('utf-8')
# -*- en



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: