summaryrefslogtreecommitdiffstats
path: root/src/translator_cz.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-03-08 14:22:15 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-03-08 14:22:15 (GMT)
commitb05064427c02bd5ae998856a0d708c440f610bde (patch)
treeeb0cd4bd519397a852945fb3acf64c0b65edcb2f /src/translator_cz.h
parent448b28836eb910f95e2f1903b4dea5eb8548e424 (diff)
downloadDoxygen-b05064427c02bd5ae998856a0d708c440f610bde.zip
Doxygen-b05064427c02bd5ae998856a0d708c440f610bde.tar.gz
Doxygen-b05064427c02bd5ae998856a0d708c440f610bde.tar.bz2
Release-1.3-rc3-20030308
Diffstat (limited to 'src/translator_cz.h')
-rw-r--r--src/translator_cz.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/translator_cz.h b/src/translator_cz.h
index 7d8f88a..d843e84 100644
--- a/src/translator_cz.h
+++ b/src/translator_cz.h
@@ -174,11 +174,14 @@ class TranslatorCzech : public Translator
*/
inline QCString decode(const QCString & sInput)
{
-#ifdef _WIN32
- return sInput;
-#else
- return Win1250ToISO88592(sInput);
-#endif
+ if (Config_getBool("USE_WINDOWS_ENCONDING"))
+ {
+ return sInput;
+ }
+ else
+ {
+ return Win1250ToISO88592(sInput);
+ }
}
public:
@@ -193,11 +196,14 @@ class TranslatorCzech : public Translator
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
-#ifdef _WIN32
+ if (Config_getBool("USE_WINDOWS_ENCONDING"))
+ {
return "windows-1250";
-#else
+ }
+ else
+ {
return "iso-8859-2";
-#endif
+ }
}
// --- Language translation methods -------------------