Merge pull request #32 from ackalker/iconv-fixes

Fallback to Latin1 charset when ISO6937 is not supported.
This commit is contained in:
Andreas Öman 2011-06-09 23:54:25 -07:00
commit ca68ed4168

View file

@ -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");
}
}