|
VLC_EXPORT size_t | vlc_towc (const char *str, uint32_t *restrict pwc) |
| Decodes a code point from UTF-8. More...
|
|
static const char * | IsUTF8 (const char *str) |
| Checks UTF-8 validity. More...
|
|
static const char * | IsASCII (const char *str) |
| Checks ASCII validity. More...
|
|
static char * | EnsureUTF8 (char *str) |
| Removes non-UTF-8 sequences. More...
|
|
VLC_EXPORT vlc_iconv_t | vlc_iconv_open (const char *, const char *) |
|
VLC_EXPORT size_t | vlc_iconv (vlc_iconv_t, const char **, size_t *, char **, size_t *) |
|
VLC_EXPORT int | vlc_iconv_close (vlc_iconv_t) |
|
VLC_EXPORT 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...
|
|
VLC_EXPORT int | utf8_fprintf (FILE *, const char *,...) |
| Formats an UTF-8 string as fprintf(), then print it, with appropriate conversion to local encoding. More...
|
|
VLC_EXPORT char * | vlc_strcasestr (const char *, const char *) |
| Look for an UTF-8 string within another one in a case-insensitive fashion. More...
|
|
VLC_EXPORT char * | FromCharset (const char *charset, const void *data, size_t data_size) |
| Converts a string from the given character encoding to utf-8. More...
|
|
VLC_EXPORT void * | ToCharset (const char *charset, const char *in, size_t *outsize) |
| Converts a nul-terminated UTF-8 string to a given character encoding. More...
|
|
static char * | FromLatin1 (const char *latin) |
| Converts a nul-terminated string from ISO-8859-1 to UTF-8. More...
|
|
VLC_EXPORT double | us_strtod (const char *, char **) |
| us_strtod() has the same prototype as ANSI C strtod() but it uses the POSIX/C decimal format, regardless of the current numeric locale. More...
|
|
VLC_EXPORT float | us_strtof (const char *, char **) |
| us_strtof() has the same prototype as ANSI C strtof() but it uses the POSIX/C decimal format, regardless of the current numeric locale. More...
|
|
VLC_EXPORT double | us_atof (const char *) |
| us_atof() has the same prototype as ANSI C atof() but it expects a dot as decimal separator, regardless of the system locale. More...
|
|
VLC_EXPORT int | us_vasprintf (char **, const char *, va_list) |
| us_vasprintf() has the same prototype as vasprintf(), but doesn't use the system locale. More...
|
|
VLC_EXPORT int | us_asprintf (char **, const char *,...) |
| us_asprintf() has the same prototype as asprintf(), but doesn't use the system locale. More...
|
|