From patchwork Thu Jun 28 13:41:54 2007 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Taferner X-Patchwork-Id: 12481 Received: from mx09.lb01.inode.at ([62.99.145.9] helo=mx.inode.at) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1I3uGR-0003op-Ao for vdr@linuxtv.org; Thu, 28 Jun 2007 15:42:27 +0200 Received: from [85.127.186.225] (port=8474 helo=idefix) by smartmx-09.inode.at with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1I3uFw-0006JQ-He for vdr@linuxtv.org; Thu, 28 Jun 2007 15:41:56 +0200 From: Stefan Taferner To: vdr@linuxtv.org Date: Thu, 28 Jun 2007 15:41:54 +0200 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Message-Id: <200706281541.54081.taferner@kde.org> Subject: [vdr] Premiere UTF-8 fix for VDR 1.5.1+ X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2007 13:42:27 -0000 Status: O X-Status: X-Keywords: X-UID: 13367 Hi all, Here is a small patch for all Premiere watchers who want to use UTF-8 encoding. The patch simply changes the default character set that is used when no encoding is broadcasted. Kind regards, Stefan --- libsi/si.c.orig 2007-06-28 14:37:28.000000000 +0200 +++ libsi/si.c 2007-06-28 14:35:45.000000000 +0200 @@ -340,5 +340,6 @@ // and length are adjusted accordingly. static const char *getCharacterTable(const unsigned char *&buffer, int &length, bool *isSingleByte = NULL) { - const char *cs = "ISO6937"; + // const char *cs = "ISO6937"; + const char *cs = "ISO8859-15"; if (isSingleByte) *isSingleByte = false;