Use "ISO-8859-%d" instead of "ISO_8859-%d" in dvb_iconv_open().
Both GNU libiconv and the minimal iconv implementation in OpenWRT support the "ISO-8859-*" form for at least some of the encodings in the ISO 8859 family, but not the "ISO_8859-*" form. GNU libc supports both forms, so this change does not break anything when compiling against GNU libc.
This commit is contained in:
parent
0e3bb41869
commit
737115be4c
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ dvb_conversion_init(void)
|
|||
int i;
|
||||
|
||||
for(i = 1; i <= 15; i++) {
|
||||
snprintf(buf, sizeof(buf), "ISO_8859-%d", i);
|
||||
snprintf(buf, sizeof(buf), "ISO-8859-%d", i);
|
||||
convert_iso_8859[i] = dvb_iconv_open(buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue