[Checkins] SVN: five.pt/trunk/ Default encoding of the base template set to UTF-8.

Malthe Borch mborch at gmail.com
Mon May 18 15:01:40 EDT 2009


Log message for revision 100097:
  Default encoding of the base template set to UTF-8.

Changed:
  U   five.pt/trunk/CHANGES.txt
  U   five.pt/trunk/src/five/pt/pagetemplate.py

-=-
Modified: five.pt/trunk/CHANGES.txt
===================================================================
--- five.pt/trunk/CHANGES.txt	2009-05-18 19:00:45 UTC (rev 100096)
+++ five.pt/trunk/CHANGES.txt	2009-05-18 19:01:40 UTC (rev 100097)
@@ -3,6 +3,8 @@
 
 In next release
 
+- Default encoding of the base template set to UTF-8. [malthe]
+
 - Update to latest Chameleon. [malthe]
 
 - Patch ``macros`` attribute. [malthe]

Modified: five.pt/trunk/src/five/pt/pagetemplate.py
===================================================================
--- five.pt/trunk/src/five/pt/pagetemplate.py	2009-05-18 19:00:45 UTC (rev 100096)
+++ five.pt/trunk/src/five/pt/pagetemplate.py	2009-05-18 19:01:40 UTC (rev 100097)
@@ -24,6 +24,7 @@
     """Zope 2-compatible page template class."""
 
     utility_builtins = {}
+    encoding = 'utf-8'
     
     def render_macro(self, macro, parameters=None, **kw):
         context = self._pt_get_context(None, None)



More information about the Checkins mailing list