PB2[2.5.0-dev-7]:"站点名"使用中文的话点击"浏览全部节点"会出错,请问该如何修正?
时间: 2020-08-20来源:V2EX
前景提要
页面显示出错信息如下:Traceback (most recent call last): File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 715, in __call__ handler.get(*groups) File "/base/data/home/apps/s~gaecnv2ex/1.382454029817673204/main.py", line 228, in get self.values['page_title'] = self.site.title.decode('utf-8') + u' › ' + self.l10n.planes.decode('utf-8') File "/base/data/home/runtimes/python/python_dist/lib/python2.5/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeEncodeError: 'ascii' codec can't encode characters in position 7-8: ordinal not in range(128) 万谢!

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行