如:
http://sitename.com/中文/提示如下:
POST /project/tx/links/new (96.44.184.181)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/tornado-2.1.1-py2.6.egg/tornado/
web.py", line 954, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "/www/workspace/workspace/
security.py", line 44, in wrapper
return method(self, *args, **kwargs)
File "/www/workspace/workspace/handlers/desktop/project/links/
__init__.py", line 96, in post
link_url_sha1 = unicode(hashlib.sha1(link_url).hexdigest())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 33-35: ordinal not in range(128)
这样比较不方便。
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://tanronggui.xyz/t/21106
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.