00001 00032 #ifndef __MTP__UNICODE__H 00033 #define __MTP__UNICODE__H 00034 00035 #include "config.h" 00036 00037 int ucs2_strlen(uint16_t const * const); 00038 char *utf16_to_utf8(LIBMTP_mtpdevice_t*,const uint16_t*); 00039 uint16_t *utf8_to_utf16(LIBMTP_mtpdevice_t*, const char*); 00040 void strip_7bit_from_utf8(char *str); 00041 00042 #endif /* __MTP__UNICODE__H */