summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/utf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/utf8.h')
-rw-r--r--src/lib/util/utf8.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/util/utf8.h b/src/lib/util/utf8.h
new file mode 100644
index 00000000000..5ef459d94a0
--- /dev/null
+++ b/src/lib/util/utf8.h
@@ -0,0 +1,20 @@
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles, Curt Coder, hap
+/***************************************************************************
+
+ utf8.h
+
+ UTF-8 string literals.
+
+***************************************************************************/
+
+#ifndef MAME_LIB_UTIL_UTF8_H
+#define MAME_LIB_UTIL_UTF8_H
+
+// these are UTF-8 encoded strings for common characters
+#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 */
+
+#endif // MAME_LIB_UTIL_UTF8_H