From 737115be4cd30d1df95c6bf48e51152a7540b338 Mon Sep 17 00:00:00 2001 From: Richard Kunze Date: Fri, 4 May 2012 01:10:56 +0200 Subject: [PATCH] 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. --- src/dvb/dvb_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dvb/dvb_support.c b/src/dvb/dvb_support.c index 9027e0fa..94c6be2a 100644 --- a/src/dvb/dvb_support.c +++ b/src/dvb/dvb_support.c @@ -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); }