From e1ab7c11166f80197ef6d5ea33f10430718f5783 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 3 Nov 2006 01:15:14 +0000 Subject: [PATCH] why not allow directly utf8 encoded dvb texts? ;) --- lib/base/estring.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/base/estring.cpp b/lib/base/estring.cpp index 74d773c4..014f6e7d 100644 --- a/lib/base/estring.cpp +++ b/lib/base/estring.cpp @@ -371,10 +371,8 @@ std::string convertDVBUTF8(const unsigned char *data, int len, int table, int ts ++i; eDebug("unsup. Big5 subset of ISO/IEC 10646-1 enc."); break; - case 0x15: - ++i; - eDebug("unsup. UTF-8 encoding of ISO/IEC 10646-1."); - break; + case 0x15: // UTF-8 encoding of ISO/IEC 10646-1 + return std::string((char*)data+1, len-1); case 0x0: case 0xC ... 0xF: case 0x16 ... 0x1F: -- 2.30.2