VLC  4.0.0-dev
Functions
unicode.c File Reference
Include dependency graph for unicode.c:

Functions

int utf8_vfprintf (FILE *stream, const char *fmt, va_list ap)
 Formats an UTF-8 string as vfprintf(), then print it, with appropriate conversion to local encoding. More...
 
int utf8_fprintf (FILE *stream, const char *fmt,...)
 Formats an UTF-8 string as fprintf(), then print it, with appropriate conversion to local encoding. More...
 
size_t vlc_towc (const char *str, uint32_t *restrict pwc)
 Decodes a code point from UTF-8. More...
 
char * vlc_strcasestr (const char *haystack, const char *needle)
 Look for an UTF-8 string within another one in a case-insensitive fashion. More...
 
char * FromCharset (const char *charset, const void *data, size_t data_size)
 Converts a string from the given character encoding to utf-8. More...
 
void * ToCharset (const char *charset, const char *in, size_t *outsize)
 Converts a nul-terminated UTF-8 string to a given character encoding. More...