Minor tweak to LaTeX export

This commit is contained in:
Veronica K. B. Olsen
2019-10-28 16:37:45 +01:00
parent 276e2f8654
commit 71c4a8f89d
+1 -1
View File
@@ -107,7 +107,7 @@ class ToLaTeX(Tokenizer):
def _escapeUnicode(self, theText):
try:
import latexcodec
return codecs.encode(theText, "ulatex")
return codecs.encode(theText, "ulatex+utf8")
except:
self.texCodecFail = True
return theText