Plone 4.2.5从4.1.4升级,default_language是zh-cn,default_charset是utf-8(portal_properties/site_properties).
当我尝试在ip:8080 /的根页面中重命名Plone站点的名称时,会显示一个站点错误:
An error was encountered while publishing this resource.
Error Type: UnicodeDecodeError
Error Value: ('ascii', '\xe8\xa2\x81\xe4\xba\x88\xe6\xb9\x98', 0, 1, 'ordinal not in range(128)')
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module OFS.CopySupport, line 333, in manage_renameObjects
Module OFS.CopySupport, line 369, in manage_renameObject
Module zope.event, line 31, in notify
Module zope.component.event, line 24, in dispatch
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, …Run Code Online (Sandbox Code Playgroud)