From: Andreas Monzner Date: Fri, 3 Nov 2006 01:15:14 +0000 (+0000) Subject: why not allow directly utf8 encoded dvb texts? ;) X-Git-Tag: 2.6.0~2766 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/e1ab7c11166f80197ef6d5ea33f10430718f5783 why not allow directly utf8 encoded dvb texts? ;) --- 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: