git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix limits (typo)
[enigma2.git]
/
lib
/
base
/
estring.cpp
diff --git
a/lib/base/estring.cpp
b/lib/base/estring.cpp
index 74d773c40495ef73ceae3d44d9d7c25a75298d9b..777462996e67bacd679102428469dfb53b5a9ae8 100644
(file)
--- a/
lib/base/estring.cpp
+++ b/
lib/base/estring.cpp
@@
-371,14
+371,11
@@
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;
++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:
case 0x0:
case 0xC ... 0xF:
case 0x16 ... 0x1F:
- default:
eDebug("reserved %d", data[0]);
++i;
break;
eDebug("reserved %d", data[0]);
++i;
break;