diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-11-03 01:15:14 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-11-03 01:15:14 +0000 |
| commit | e1ab7c11166f80197ef6d5ea33f10430718f5783 (patch) | |
| tree | 89bf4b88893b439d4c2cd95ee5a3faa5c79f88b1 /lib/base/estring.cpp | |
| parent | e714c0719330427ea0b420e877de8605d81364c7 (diff) | |
| download | enigma2-e1ab7c11166f80197ef6d5ea33f10430718f5783.tar.gz enigma2-e1ab7c11166f80197ef6d5ea33f10430718f5783.zip | |
why not allow directly utf8 encoded dvb texts? ;)
Diffstat (limited to 'lib/base/estring.cpp')
| -rw-r--r-- | lib/base/estring.cpp | 6 |
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: |
