diff options
author | schmirl <schmirl> | 2009-09-17 10:12:11 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2009-09-17 10:12:11 +0000 |
commit | 7acdfe74281c035feae235b3e102e61441a679fa (patch) | |
tree | 49a39bc0f4d7363d3a5b4849e7644dba9aabdced | |
parent | f4e9cc1de964f0b249685b5fc0ebf7595233900e (diff) | |
download | vdr-plugin-streamdev-7acdfe74281c035feae235b3e102e61441a679fa.tar.gz vdr-plugin-streamdev-7acdfe74281c035feae235b3e102e61441a679fa.tar.bz2 |
Added defines for getting charset in VDR 1.5.3+
-rw-r--r-- | server/menuHTTP.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/menuHTTP.h b/server/menuHTTP.h index efa20f2..ecded86 100644 --- a/server/menuHTTP.h +++ b/server/menuHTTP.h @@ -116,7 +116,11 @@ class cHtmlChannelList: public cChannelList virtual std::string HttpHeader() { return cChannelList::HttpHeader() + "Content-type: text/html; charset=" +#if defined(APIVERSNUM) && APIVERSNUM >= 10503 + + (cCharSetConv::SystemCharacterTable() ? cCharSetConv::SystemCharacterTable() : "UTF-8") +#else + I18nCharSets()[Setup.OSDLanguage] +#endif + "\r\n"; } virtual bool HasNext(); |