* lib/lyx2lyx/LyX.py (get_encoding):

- handle the "utf8x" inputenc option (part of bug 4503).
(status.15x follows).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22896 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-02-09 14:34:57 +00:00
parent bf5e1e5eeb
commit fa682d76d1

View File

@ -128,6 +128,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"