1 #ifndef __OPENTREP_BAS_ICU_UTIL_HPP
2 #define __OPENTREP_BAS_ICU_UTIL_HPP
10 #include <unicode/unistr.h>
11 #include <unicode/translit.h>
22 bool check (
const UErrorCode& iStatus,
const char* iMsg);
30 UnicodeString
escape (
const UnicodeString&);
38 std::string
getUTF8 (
const UnicodeString&);
41 #endif // __OPENTREP_BAS_ICU_UTIL_HPP
UnicodeString escape(const UnicodeString &iSource)
std::string getUTF8(const UnicodeString &iString)
bool check(const UErrorCode &iStatus, const char *iMsg)