summaryrefslogtreecommitdiff
path: root/layout.c
diff options
context:
space:
mode:
authorZoolooc <lucianm@users.sourceforge.net>2011-03-23 23:13:59 +0100
committerZoolooc <lucianm@users.sourceforge.net>2011-03-23 23:13:59 +0100
commitd053cc2fe385bed89a96a54d5e5a02f35f2122e3 (patch)
treee1b99bddfb0192038e2eddff89df37e4b0ee360c /layout.c
parent1ec049629132a2e898854e2c8a604aaa66b1feaf (diff)
downloadvdr-plugin-graphlcd-d053cc2fe385bed89a96a54d5e5a02f35f2122e3.tar.gz
vdr-plugin-graphlcd-d053cc2fe385bed89a96a54d5e5a02f35f2122e3.tar.bz2
UTF8 fixes and support for the WAREAGLEICONS
vdr patch. Contributed by Lucian Muresan
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/layout.c b/layout.c
index dc5e34d..8ee8072 100644
--- a/layout.c
+++ b/layout.c
@@ -66,7 +66,8 @@ bool cFontElement::Load(const std::string & url)
file += url.substr(4, pos - 4);
}
#if APIVERSNUM >= 10503
- return font.LoadFT2(file, cCharSetConv::SystemCharacterTable() ? cCharSetConv::SystemCharacterTable() : "ISO-8859-1", size);
+ // NULL SystemCharacterTable defaults to UTF-8 (see VDR tools.h)
+ return font.LoadFT2(file, cCharSetConv::SystemCharacterTable() ? cCharSetConv::SystemCharacterTable() : "UTF-8", size);
#else
return font.LoadFT2(file, I18nCharSets()[Setup.OSDLanguage], size);
#endif