diff options
author | Petr Prikryl <prikryl@atlas.cz> | 2013-06-25 08:13:01 (GMT) |
---|---|---|
committer | Petr Prikryl <prikryl@atlas.cz> | 2013-06-25 08:13:01 (GMT) |
commit | b8c8a047e05f83f8cb818d8184878bc724b209b8 (patch) | |
tree | 09025a208bdcae73a93dac05581e9c9e023e4a13 /src | |
parent | 07e988188ff1cbc77f213e5f6d4ad104375202e4 (diff) | |
download | Doxygen-b8c8a047e05f83f8cb818d8184878bc724b209b8.zip Doxygen-b8c8a047e05f83f8cb818d8184878bc724b209b8.tar.gz Doxygen-b8c8a047e05f83f8cb818d8184878bc724b209b8.tar.bz2 |
TranslatorJapaneseEn and TranslatorKoreanEn converted to UTF-8
Actually, the translator_je.h and translator_ke.h use only ASCII
characters. The idLanguageCharset() just returns "utf-8" now.
The TranslatorDecoder not used for the translator classes.
Diffstat (limited to 'src')
-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() { |