diff options
-rw-r--r-- | skinconfig.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/skinconfig.c b/skinconfig.c index e4e5ffa..3a03315 100644 --- a/skinconfig.c +++ b/skinconfig.c @@ -128,6 +128,7 @@ typedef enum _eTokenId tokDefaultBackgroundColor, tokForegroundColor, tokBackgroundColor, + tokIsUTF8, tokPrivateSettingStart, tokSettingShowChannelLogo, @@ -259,6 +260,7 @@ static const std::string Tokens[tokCountToken] = "DefaultBackgroundColor", "ForegroundColor", "BackgroundColor", + "IsUTF8", "privateSettingStart", "SettingShowChannelLogo", @@ -765,6 +767,10 @@ GLCD::cType cGraphLCDSkinConfig::GetToken(const GLCD::tSkinToken & Token) snprintf(buffer, 11, "0x%08x", (uint32_t)((mDisplay)->GetDriver()->GetBackgroundColor(false))); return buffer; } + case tokIsUTF8: + { + return (CharSet() == "UTF-8"); + } default: break; } |