emulate vertical tab with newline in EPG data

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@366 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: ec2da96176
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-02-17 (Wed, 17 Feb 2010)
This commit is contained in:
Stefan Seyfried
2010-02-17 17:38:50 +00:00
parent a454826a3e
commit 97f9e685e6

View File

@@ -422,8 +422,8 @@ std::string convertDVBUTF8(const char *data, int len, int table, int tsidonid)
// Unicode->UTF8 encoding
if (code < 0x80) // identity ascii <-> utf8 mapping
res[t++]=char(code);
else if((table == 5) && (code == 0x8A))
res[t++]= 0x20;
else if (/*(table == 5) &&*/ (code == 0x8A)) // I don't think this is related to table 5 --seife
res[t++]= '\n'; // 0x8a is vertical tab. Just use newline for now.
else if (code < 0x800) // two byte mapping
{
res[t++]=(code>>6)|0xC0;