From c254fbe26849367deeb8378327d77a257b7e2f1e Mon Sep 17 00:00:00 2001 From: Luthaf Date: Tue, 11 Feb 2014 17:43:06 +0100 Subject: [PATCH] Fix an encoding bug in index processing. Please tell me if this create a bug in antoher system ! --- songbook/plastex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/songbook/plastex.py b/songbook/plastex.py index c326d600..1aab62fb 100755 --- a/songbook/plastex.py +++ b/songbook/plastex.py @@ -13,7 +13,7 @@ def simpleparse(text): """Parse a simple LaTeX string. """ tex = TeX() - tex.input(text) + tex.input(text.decode('utf8')) doc = tex.parse() return doc.textContent