aboutsummaryrefslogtreecommitdiff
path: root/lout/unicode.hh
blob: 42d0691114b0b7ec609bbccde09c4a28bc51eba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __UNICODE_HH__
#define __UNICODE_HH__

namespace lout {

/**
 * \brief Stuff dealing with Unicode characters: UTF-8, character classes etc.
 *
 */
namespace unicode {

bool isAlpha (int ch);

int decodeUtf8 (const char *s);

const char *nextUtf8Char (const char *s);

const char *nextUtf8Char (const char *s, int len);

} // namespace lout

} // namespace unicode

#endif // __UNICODE_HH__