From 64aa11b1248775c787ee4b8619e8177812eafaf4 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 15 Mar 2009 14:08:09 +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/branches/BRANCH_1_6_X@28797 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/docstream.cpp | 2 +- status.16x | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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" || diff --git a/status.16x b/status.16x index eddcb72794..a11c07d41d 100644 --- a/status.16x +++ b/status.16x @@ -51,7 +51,8 @@ What's new * DOCUMENT INPUT/OUTPUT - +- Fix LaTeX export of an isolated Japanese character when using ISO-2022-JP + encoding (bug 5802). * USER INTERFACE