[Checkins] SVN: GenericSetup/trunk/utils.py - fixed default _encoding (by default PropertyManagers use ZPublisher's default_encoding)

Yvo Schubbe y.2007- at wcm-solutions.de
Mon Feb 19 04:34:20 EST 2007


Log message for revision 72665:
  - fixed default _encoding (by default PropertyManagers use ZPublisher's default_encoding)

Changed:
  U   GenericSetup/trunk/utils.py

-=-
Modified: GenericSetup/trunk/utils.py
===================================================================
--- GenericSetup/trunk/utils.py	2007-02-19 09:30:32 UTC (rev 72664)
+++ GenericSetup/trunk/utils.py	2007-02-19 09:34:18 UTC (rev 72665)
@@ -37,6 +37,7 @@
 from zope.interface import implements
 from zope.interface import implementsOnly
 from zope.interface import providedBy
+from ZPublisher.HTTPRequest import default_encoding
 
 from exceptions import BadRequest
 from interfaces import IBody
@@ -591,7 +592,7 @@
     """PropertyManager im- and export helpers.
     """
 
-    _encoding = 'utf-8'
+    _encoding = default_encoding
 
     def _extractProperties(self):
         fragment = self._doc.createDocumentFragment()



More information about the Checkins mailing list