set default encoding for Word to Windows-1252
This commit is contained in:
parent
51c0b94d8f
commit
6740d350dd
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue