u5e
UnicodeTextC++Library
|
Basic operations necessary for implementing utf8. More...
#include <u5e/utf8_util.hpp>
Static Public Member Functions | |
static bool | is_7bit_character (const char octet) |
static bool | is_codepoint_continuation (const char octet) |
static bool | is_codepoint_start (const char octet) |
static int | codepoint_size (const char first_octet) |
static int | encoded_size (int value) |
Basic operations necessary for implementing utf8.
Definition at line 11 of file utf8_util.hpp.
|
inlinestatic |
Find the codepoint size given the first utf8 octet
Definition at line 50 of file utf8_util.hpp.
|
inlinestatic |
How many octets will this codepoint take
Definition at line 60 of file utf8_util.hpp.
|
inlinestatic |
Check whether or not this is a 7bit character
Definition at line 17 of file utf8_util.hpp.
|
inlinestatic |
Check whether or not this is octet is a codepoint continuation
Definition at line 28 of file utf8_util.hpp.
|
inlinestatic |
Check whether or not this is a first octet in a sequence
Definition at line 39 of file utf8_util.hpp.