Added defines for getting charset in VDR 1.5.3+

This commit is contained in:
schmirl 2009-09-17 10:12:11 +00:00
parent f4e9cc1de9
commit 7acdfe7428

View File

@ -116,7 +116,11 @@ class cHtmlChannelList: public cChannelList
virtual std::string HttpHeader() { virtual std::string HttpHeader() {
return cChannelList::HttpHeader() return cChannelList::HttpHeader()
+ "Content-type: text/html; charset=" + "Content-type: text/html; charset="
#if defined(APIVERSNUM) && APIVERSNUM >= 10503
+ (cCharSetConv::SystemCharacterTable() ? cCharSetConv::SystemCharacterTable() : "UTF-8")
#else
+ I18nCharSets()[Setup.OSDLanguage] + I18nCharSets()[Setup.OSDLanguage]
#endif
+ "\r\n"; + "\r\n";
} }
virtual bool HasNext(); virtual bool HasNext();