#include "config.h"
#include <sofia-sip/utf8.h>
#include "utf8internal.h"
#include <assert.h>
Include dependency graph for utf8.c:
Functions | |
size_t | utf8_width (const utf8 *s) |
Width of an UTF8 character cell (1, 2 or 4 bytes). | |
size_t | ucs18decode (char *dst, size_t dst_size, const utf8 *s) |
Convert UTF8 string s to ISO-Latin-1 string dst. | |
size_t | ucs1encode (utf8 *dst, const ucs1 *s, size_t n, const char quote[128]) |
Convert ISO-Latin-1 string s to UTF8 string in dst. | |
size_t | ucs1declen (const utf8 *s) |
Calculate number of characters in UTF8 string s. | |
size_t | ucs1enclen (const ucs1 *s, size_t n, const char quote[128]) |
Calculate length of UTF8 encoding of string s. |