summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 1e42ee8..7b2b2bb 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1265,6 +1265,7 @@ void LatexGenerator::docify(const char *str)
static bool isKorean = theTranslator->idLanguage()=="korean";
static bool isRussian = theTranslator->idLanguage()=="russian";
static bool isUkrainian = theTranslator->idLanguage()=="ukrainian";
+ static bool isChinese = theTranslator->idLanguage()=="chinese";
if (str)
{
const unsigned char *p=(const unsigned char *)str;
@@ -1329,9 +1330,9 @@ void LatexGenerator::docify(const char *str)
break;
default:
-
- if (isJapanese || isKorean)
- { // Japanese language uses wide characters
+ // Some languages uses wide characters
+ if (isJapanese || isKorean || isChinese)
+ {
if (c>=128)
{
t << (char)c;