Merge pull request #32 from ackalker/iconv-fixes
Fallback to Latin1 charset when ISO6937 is not supported.
This commit is contained in:
commit
ca68ed4168
1 changed files with 3 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue