diff options
-rw-r--r-- | src/language.cpp | 5 | ||||
-rw-r--r-- | src/translator_je.h | 9 | ||||
-rw-r--r-- | src/translator_ke.h | 2 |
3 files changed, 4 insertions, 12 deletions
diff --git a/src/language.cpp b/src/language.cpp index b0218d4..eb88455 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -21,7 +21,6 @@ #include "language.h" #include "lang_cfg.h" #include "translator.h" -#include "translatordecoder.h" #include "translator_en.h" #if !defined(ENGLISH_ONLY) #include "translator_adapter.h" @@ -231,7 +230,7 @@ bool setTranslator(const char *langName) #ifdef LANG_JE else if (L_EQUAL("japanese-en")) { - theTranslator=new TranslatorDecoder(new TranslatorJapaneseEn); + theTranslator=new TranslatorJapaneseEn; } #endif #ifdef LANG_ES @@ -285,7 +284,7 @@ bool setTranslator(const char *langName) #ifdef LANG_KE else if (L_EQUAL("korean-en")) { - theTranslator=new TranslatorDecoder(new TranslatorKoreanEn); + theTranslator=new TranslatorKoreanEn; } #endif #ifdef LANG_RO diff --git a/src/translator_je.h b/src/translator_je.h index c6bfdcb..a3195fa 100644 --- a/src/translator_je.h +++ b/src/translator_je.h @@ -41,14 +41,7 @@ class TranslatorJapaneseEn : public TranslatorEnglish /*! returns the name of the package that is included by LaTeX */ virtual QCString idLanguageCharset() { - //if (Config_getBool("USE_WINDOWS_ENCODING")) - //{ - // return "Shift_JIS"; - //} - //else - //{ - return "euc-jp"; - //} + return "utf-8"; } virtual QCString trRTFansicp() { diff --git a/src/translator_ke.h b/src/translator_ke.h index f089d38..437e426 100644 --- a/src/translator_ke.h +++ b/src/translator_ke.h @@ -40,7 +40,7 @@ class TranslatorKoreanEn : public TranslatorEnglish /*! returns the name of the package that is included by LaTeX */ virtual QCString idLanguageCharset() { - return "euc-kr"; + return "utf-8"; } virtual QCString trRTFansicp() { |