libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
utf8helper.cpp File Reference
#include <osmscout/util/utf8helper.h>
#include <cstring>

Namespaces

 utf8helper
 

Functions

static Parser::Exit utf8helper::_p0 (Parser *p, byte bb)
 
static Parser::Exit utf8helper::_p1_u2 (Parser *p, byte bb)
 1 byte: RFC 3629:#4: Valid UTF-8 matches the following syntax 00-7F More...
 
static Parser::Exit utf8helper::_p1_u3 (Parser *p, byte bb)
 
static Parser::Exit utf8helper::_p1_u4 (Parser *p, byte bb)
 
static Parser::Exit utf8helper::_p2_u3 (Parser *p, byte bb)
 
static Parser::Exit utf8helper::_p2_u4 (Parser *p, byte bb)
 
static Parser::Exit utf8helper::_p3_u4 (Parser *p, byte bb)
 
static int utf8helper::_u_size (codepoint u)
 
static char * utf8helper::_u_string (char *buf, codepoint u)
 
codepoint utf8helper::TransformCapitalize (const character *, int)
 
codepoint utf8helper::TransformLower (const character *ch, [[maybe_unused]] int context)
 
codepoint utf8helper::TransformNop (const character *, int)
 
codepoint utf8helper::TransformNormalize (const character *, int)
 
codepoint utf8helper::TransformTransliterate (const character *, int)
 
codepoint utf8helper::TransformUpper (const character *ch, [[maybe_unused]] int context)
 
std::string utf8helper::UTF8Capitalize (const std::string &text)
 
std::string utf8helper::UTF8Normalize (const std::string &text)
 
std::string utf8helper::UTF8ToLower (const std::string &text)
 
std::string utf8helper::UTF8ToUpper (const std::string &text)
 
std::string utf8helper::UTF8Transliterate (const std::string &text)