From d6b456449acecc92aa0b41584f74a42c778c8f33 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Mon, 12 Mar 2012 15:34:13 +0100 Subject: [PATCH] use UTF-8 as standard encoding for documents --- docgen/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docgen/base.py b/docgen/base.py index 012c663..106c5a6 100644 --- a/docgen/base.py +++ b/docgen/base.py @@ -30,8 +30,8 @@ word_template = ViewPageTemplateFile('word_page.pt') class Base(BrowserPage): - #encoding = 'UTF-8' - encoding = 'ISO8859-15' + encoding = 'UTF-8' + #encoding = 'ISO8859-15' def __call__(self, *args, **kw): data = self.index(*args, **kw).encode(self.encoding)