set default encoding for Word to Windows-1252

This commit is contained in:
Helmut Merz 2014-07-30 16:53:27 +02:00
parent 51c0b94d8f
commit 6740d350dd

View file

@ -47,6 +47,7 @@ class WordDocument(Base):
index = word_template
bodyTemplate = body_template
showLinks = False
encoding = 'Windows-1252'
def embed(self, *args, **kw):
self.encoding = 'Windows-1252'