diff options
author | sgeerken <devnull@localhost> | 2012-07-12 13:15:20 +0200 |
---|---|---|
committer | sgeerken <devnull@localhost> | 2012-07-12 13:15:20 +0200 |
commit | 2e9c1b2b921a249743b139e7cea3449e642ae30e (patch) | |
tree | 256f8b387dda15ded6d9407c98711ccca4760a2a /lout/unicode.hh | |
parent | fa1c054f17f6c71a5314e4c3e638c15aa33ec09c (diff) |
new file "unicode.hh" and "unicode.cc" for Unicode and UTF-8 issues
Diffstat (limited to 'lout/unicode.hh')
-rw-r--r-- | lout/unicode.hh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lout/unicode.hh b/lout/unicode.hh new file mode 100644 index 00000000..123e7aa3 --- /dev/null +++ b/lout/unicode.hh @@ -0,0 +1,20 @@ +#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 (char *s); + +} // namespace lout + +} // namespace unicode + +#endif // __UNICODE_HH__ |