summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2010-11-05 06:21:40 +0000
committer Curt Coder <curtcoder@mail.com>2010-11-05 06:21:40 +0000
commit8734e944eeb88bba89e8f146694221cbe7dcda01 (patch)
treebd019c67ba939f7217d5411eaf0df607637906bb /src/lib
parentd4a893ffbb20d3739201ecd995579528c8494b4f (diff)
Added UTF-8 constants for cursor key arrows, and accented characters on the Swedish/Finnish keyboard layout. [Curt Coder]
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util/unicode.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/util/unicode.h b/src/lib/util/unicode.h
index e5d4b3bd8c4..85e544b0733 100644
--- a/src/lib/util/unicode.h
+++ b/src/lib/util/unicode.h
@@ -68,7 +68,22 @@
#define UTF8_MULTIPLY "\xc3\x97" /* multiplication symbol */
#define UTF8_DEGREES "\xc2\xb0" /* degrees symbol */
+#define a_RING "\xc3\xa5" /* small a with a ring */
+#define a_UMLAUT "\xc3\xa4" /* small a with an umlaut */
+#define o_UMLAUT "\xc3\xb6" /* small o with an umlaut */
+#define u_UMLAUT "\xc3\xbc" /* small u with an umlaut */
+#define e_ACUTE "\xc3\xa9" /* small e with an acute */
+
+#define A_RING "\xc3\x85" /* capital A with a ring */
+#define A_UMLAUT "\xc3\x84" /* capital A with an umlaut */
#define O_UMLAUT "\xc3\x96" /* capital O with an umlaut */
+#define U_UMLAUT "\xc3\x9c" /* capital U with an umlaut */
+#define E_ACUTE "\xc3\x89" /* capital E with an acute */
+
+#define UTF8_LEFT "\xe2\x86\x90" /* cursor left */
+#define UTF8_RIGHT "\xe2\x86\x92" /* cursor right */
+#define UTF8_UP "\xe2\x86\x91" /* cursor up */
+#define UTF8_DOWN "\xe2\x86\x93" /* cursor down */