From 71c4a8f89d8444d6585fa43fa54b693ec9d976a2 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Mon, 28 Oct 2019 16:37:45 +0100 Subject: [PATCH] Minor tweak to LaTeX export --- nw/convert/text/tolatex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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