libmtp 1.1.23

unicode.h
Go to the documentation of this file.
1
31
32#ifndef __MTP__UNICODE__H
33#define __MTP__UNICODE__H
34
35 int ucs2_strlen(uint16_t const * const);
36 char *utf16_to_utf8(LIBMTP_mtpdevice_t*,const uint16_t*);
37uint16_t *utf8_to_utf16(LIBMTP_mtpdevice_t*, const char*);
38 void strip_7bit_from_utf8(char *str);
39
40#endif /* __MTP__UNICODE__H */
LIBMTP_mtpdevice_t
struct LIBMTP_mtpdevice_struct LIBMTP_mtpdevice_t
Definition libmtp.h:464
utf16_to_utf8
char * utf16_to_utf8(LIBMTP_mtpdevice_t *, const uint16_t *)
Definition unicode.c:77
ucs2_strlen
int ucs2_strlen(uint16_t const *const)
Definition unicode.c:59
strip_7bit_from_utf8
void strip_7bit_from_utf8(char *str)
Definition unicode.c:154
utf8_to_utf16
uint16_t * utf8_to_utf16(LIBMTP_mtpdevice_t *, const char *)
Definition unicode.c:112