parrotcode: UTF-8 encoding | |
Contents | C |
encodings/utf8.c - UTF-8 encoding
UTF-8 (http://www.utf-8.com/).
static UINTVAL utf8_characters(const void *ptr, UINTVAL bytes)
byte_len
bytes from *ptr
.static UINTVAL utf8_decode(const void *ptr)
*ptr
.static void *utf8_encode(void *ptr, UINTVAL c)
c
.static const void *utf8_skip_forward(const void *ptr, UINTVAL n)
ptr
n
characters forward.static const void *utf8_skip_backward(const void *ptr, UINTVAL n)
ptr
n
characters back.static UINTVAL utf8_decode_and_advance(Interp *, String_iter *i)
get_and_advance
function.static void utf8_encode_and_advance(Interp *, String_iter *i, UINTVAL c)
set_and_advance
function.func
set_position
function.encodings/fixed_8.c, src/string.c, include/parrot/string.h, docs/string.pod.
|