mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
edvbstring: add inlined convertDVBUTF8 with std::string param
Origin commit data
------------------
Branch: ni/coolstream
Commit: 72f566474a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-01-18 (Wed, 18 Jan 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -5,4 +5,10 @@ const std::string convertLatin1UTF8(const std::string &string);
|
||||
int isUTF8(const std::string &string);
|
||||
std::string convertDVBUTF8(const char *data, int len, int table, int tsidonid = 0);
|
||||
int readEncodingFile();
|
||||
|
||||
inline std::string convertDVBUTF8(const std::string &string, int table=0, int tsidonid=0)
|
||||
{
|
||||
return convertDVBUTF8((const char*)string.c_str(), string.length(), table, tsidonid);
|
||||
}
|
||||
|
||||
#endif // __E_STRING__
|
||||
|
Reference in New Issue
Block a user