Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
unicode.hh
Go to the documentation of this file.
1#ifndef __UNICODE_HH__
2#define __UNICODE_HH__
3
4namespace lout {
5
10namespace unicode {
11
12bool isAlpha (int ch);
13
14int decodeUtf8 (const char *s);
15
16int decodeUtf8 (const char *s, int len);
17
18const char *nextUtf8Char (const char *s);
19
20const char *nextUtf8Char (const char *s, int len);
21
22int numUtf8Chars (const char *s);
23
24int numUtf8Chars (const char *s, int len);
25
26} // namespace lout
27
28} // namespace unicode
29
30#endif // __UNICODE_HH__
int numUtf8Chars(const char *s)
Definition unicode.cc:162
int decodeUtf8(const char *s)
Definition unicode.cc:73
bool isAlpha(int ch)
Returns whether a given unicode character is an alphabetic character.
Definition unicode.cc:68
const char * nextUtf8Char(const char *s)
Definition unicode.cc:110