From: Alain Kalker Date: Thu, 9 Jun 2011 23:55:29 +0000 (+0200) Subject: Fallback to Latin1 charset when ISO6937 is not supported. X-Git-Tag: 2.99~44^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0290539e26a5de210615a03ee926fdf798b8254;p=thirdparty%2Ftvheadend.git Fallback to Latin1 charset when ISO6937 is not supported. --- diff --git a/src/dvb/dvb_support.c b/src/dvb/dvb_support.c index 96c7295ea..9027e0fa1 100644 --- a/src/dvb/dvb_support.c +++ b/src/dvb/dvb_support.c @@ -64,6 +64,9 @@ dvb_conversion_init(void) convert_utf8 = dvb_iconv_open("UTF-8"); convert_latin1 = dvb_iconv_open("ISO6937"); + if(convert_latin1 == (iconv_t)(-1)) { + convert_latin1 = dvb_iconv_open("ISO_8859-1"); + } }