filter short name brakets in getContent ('N')
[enigma2.git] / lib / base / estring.h
index a0b161de99059ec2a01511a0cd51319a73126601..68e0970f410a657ce81c78e51bf3470f4e3c132a 100644 (file)
@@ -6,13 +6,22 @@
 #include <stdio.h>
 #include "eerror.h"
 
+std::string buildShortName( const std::string &str );
+
 int strnicmp(const char*, const char*, int);
 
 std::string getNum(int num, int base=10);
-std::string convertDVBUTF8(const unsigned char *data, int len, int table=5);
-std::string convertUTF8DVB(const std::string &string);  // with default ISO8859-5
-std::string convertDVBUTF8(const std::string &s, int table=5);
+
+std::string convertDVBUTF8(const unsigned char *data, int len, int table=0, int tsidonid=0); // with default ISO8859-1/Latin1
 std::string convertLatin1UTF8(const std::string &string);
 int isUTF8(const std::string &string);
 
+std::string removeDVBChars(const std::string &s);
+void makeUpper(std::string &s);
+
+inline std::string convertDVBUTF8(const std::string &string, int table=0, int tsidonid=0) // with default ISO8859-1/Latin1
+{
+       return convertDVBUTF8((const unsigned char*)string.c_str(), string.length(), table, tsidonid);
+}
+
 #endif // __E_STRING__