diff --git a/nw/convert/text/tolatex.py b/nw/convert/text/tolatex.py index a006cc01..cb7d25f5 100644 --- a/nw/convert/text/tolatex.py +++ b/nw/convert/text/tolatex.py @@ -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