use UTF-8 as standard encoding for documents
This commit is contained in:
parent
6fe560cd31
commit
d6b456449a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue