mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
Added defines for getting charset in VDR 1.5.3+
This commit is contained in:
parent
f4e9cc1de9
commit
7acdfe7428
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user