From bd8788f377c365519f8cf77eb88002e90c1b6a5e Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Mon, 9 Mar 2009 06:47:26 +0000 Subject: [PATCH] Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802) Japanese char between math insets becomes wrong in TeX output git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28732 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/docstream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/docstream.cpp b/src/support/docstream.cpp index 682aa64d54..ed00fffa0e 100644 --- a/src/support/docstream.cpp +++ b/src/support/docstream.cpp @@ -260,7 +260,7 @@ protected: else if (encoding_ == "EUC-JP") return 3; else if (encoding_ == "ISO-2022-JP") - return 5; + return 8; else if (encoding_ == "BIG5" || encoding_ == "EUC-KR" || encoding_ == "EUC-CN" ||