14 #ifndef OSGDB_CONVERTUTF
15 #define OSGDB_CONVERTUTF 1
18 #include <osgDB/Export>
22 #if defined(__CYGWIN__) || defined(__ANDROID__)
25 typedef basic_string<wchar_t> wstring;
OSGDB_EXPORT std::string convertUTF16toUTF8(const wchar_t *source, unsigned sourceLength)
OSGDB_EXPORT std::string convertStringFromCurrentCodePageToUTF8(const char *source, unsigned sourceLength)
OSGDB_EXPORT std::string convertStringFromUTF8toCurrentCodePage(const char *source, unsigned sourceLength)
OSGDB_EXPORT std::wstring convertUTF8toUTF16(const char *source, unsigned sourceLength)