aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-03 01:15:14 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-03 01:15:14 +0000
commite1ab7c11166f80197ef6d5ea33f10430718f5783 (patch)
tree89bf4b88893b439d4c2cd95ee5a3faa5c79f88b1 /lib
parente714c0719330427ea0b420e877de8605d81364c7 (diff)
downloadenigma2-e1ab7c11166f80197ef6d5ea33f10430718f5783.tar.gz
enigma2-e1ab7c11166f80197ef6d5ea33f10430718f5783.zip
why not allow directly utf8 encoded dvb texts? ;)
Diffstat (limited to 'lib')
-rw-r--r--lib/base/estring.cpp6
1 files 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: