Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
unicode.cc File Reference
#include "unicode.hh"
#include "misc.hh"
Include dependency graph for unicode.cc:

Go to the source code of this file.

Namespaces

namespace  lout
 
namespace  lout::unicode
 Stuff dealing with Unicode characters: UTF-8, character classes etc.
 

Functions

bool lout::unicode::isAlpha (int ch)
 Returns whether a given unicode character is an alphabetic character.
 
int lout::unicode::decodeUtf8 (const char *s)
 
int lout::unicode::decodeUtf8 (const char *s, int len)
 
const char * lout::unicode::nextUtf8Char (const char *s)
 
const char * lout::unicode::nextUtf8Char (const char *s, int len)
 
int lout::unicode::numUtf8Chars (const char *s)
 
int lout::unicode::numUtf8Chars (const char *s, int len)
 

Variables

static unsigned char lout::unicode::alpha [0x500]