From 8a48fe8214df98fc7cd7f23fb210971921d6282c Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Thu, 29 Nov 2012 09:57:20 +0000 Subject: [PATCH] Issue #1407 - skip unused ISO 8859 control codes. This had the effect of placing unwanted spaces into various channel names where the broadcaster was sending these control chars. Thanks to Rene Herbrich for diagnosing this. --- src/dvb/dvb_support.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/dvb/dvb_support.c b/src/dvb/dvb_support.c index 64b35b2a..b4d5e3b0 100644 --- a/src/dvb/dvb_support.c +++ b/src/dvb/dvb_support.c @@ -95,10 +95,7 @@ static inline size_t conv_8859(int conv, (*dstlen)--; dst++; } else if (c <= 0x9f) { - // codes 0x80 - 0x9f (control codes) are mapped to ' ' - *dst = ' '; - (*dstlen)--; - dst++; + // codes 0x80 - 0x9f (control codes) are ignored } else { // map according to character table, skipping // unmapped chars (value 0 in the table)