#include <ctype.h>
Go to the source code of this file.
Macros | |
#define | utf8_strlen(S, B) ((B) < 0 ? (int)strlen(S) : (B)) |
UTF-8 utility functions. | |
#define | utf8_tounicode(S, CP) (*(CP) = (unsigned char)*(S), 1) |
#define | utf8_index(C, I) (I) |
#define | utf8_charlen(C) 1 |
#define utf8_charlen | ( | C | ) | 1 |
#define utf8_index | ( | C, | |
I | |||
) | (I) |
UTF-8 utility functions.
(c) 2010 Steve Bennett steve b@wo rkwar e.ne t.au
See LICENCE for licence details.