From: Jürgen Spitzmüller Date: Sat, 9 Feb 2008 07:52:26 +0000 (+0000) Subject: * lib/lyx2lyx/LyX.py (get_encoding): X-Git-Tag: 1.6.10~6365 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0c6c52943b5ea11af151f23a8af48a17b095b63c;p=lyx.git * lib/lyx2lyx/LyX.py (get_encoding): - handle the "utf8x" inputenc option (part of bug 4503). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22884 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/lyx2lyx/LyX.py b/lib/lyx2lyx/LyX.py index 586410da9e..ad41ba7a81 100644 --- a/lib/lyx2lyx/LyX.py +++ b/lib/lyx2lyx/LyX.py @@ -132,6 +132,8 @@ def get_encoding(language, inputencoding, format, cjk_encoding): return lang[language][3] if inputencoding == "": return "latin1" + if inputencoding == "utf8x": + return "utf8" # python does not know the alias latin9 if inputencoding == "latin9": return "iso-8859-15"