mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
fix emulate vertical tab with newline in EPG data
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@616 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: aabfc18041
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-06-08 (Tue, 08 Jun 2010)
Origin message was:
------------------
-fix emulate vertical tab with newline in EPG data
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@616 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -422,10 +422,10 @@ 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)) // I don't think this is related to table 5 --seife
|
||||
/* code for parsing text in OSD (event details etc) not support \n it seems,
|
||||
as result all text after \n is missed. let it be space for now --focus */
|
||||
res[t++]= 0x20;//'\n'; // 0x8a is vertical tab. Just use newline for now.
|
||||
else if((table == 5) && (code == 0x8A))
|
||||
res[t++]= 0x20;
|
||||
else if ((code == 0x8A))
|
||||
res[t++]= '\n'; // 0x8a is vertical tab. Just use newline for now.
|
||||
else if (code < 0x800) // two byte mapping
|
||||
{
|
||||
res[t++]=(code>>6)|0xC0;
|
||||
|
Reference in New Issue
Block a user