summaryrefslogtreecommitdiff
path: root/lout/unicode.hh
diff options
context:
space:
mode:
Diffstat (limited to 'lout/unicode.hh')
-rw-r--r--lout/unicode.hh20
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__