summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_codepage.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/fx_codepage.h')
-rw-r--r--core/fxcrt/fx_codepage.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/fxcrt/fx_codepage.h b/core/fxcrt/fx_codepage.h
index 874f96db7f..43692286a5 100644
--- a/core/fxcrt/fx_codepage.h
+++ b/core/fxcrt/fx_codepage.h
@@ -7,6 +7,8 @@
#ifndef CORE_FXCRT_FX_CODEPAGE_H_
#define CORE_FXCRT_FX_CODEPAGE_H_
+#include <stdint.h>
+
#define FX_CODEPAGE_DefANSI 0
#define FX_CODEPAGE_Symbol 42
#define FX_CODEPAGE_MSDOS_US 437
@@ -88,4 +90,12 @@
#define FX_CHARSET_US 254
#define FX_CHARSET_OEM 255
+// Hi-bytes to unicode codepoint mapping for various code pages.
+struct FX_CharsetUnicodes {
+ uint8_t m_Charset;
+ const uint16_t* m_pUnicodes;
+};
+
+extern const FX_CharsetUnicodes g_FX_CharsetUnicodes[8];
+
#endif // CORE_FXCRT_FX_CODEPAGE_H_