summaryrefslogtreecommitdiffstats
path: root/src/table/jis0201_1976_0.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/table/jis0201_1976_0.h')
-rw-r--r--src/table/jis0201_1976_0.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/table/jis0201_1976_0.h b/src/table/jis0201_1976_0.h
new file mode 100644
index 0000000..45dd355
--- /dev/null
+++ b/src/table/jis0201_1976_0.h
@@ -0,0 +1,20 @@
+//
+// AUTOMATICALLLY GENERATED by gentables
+//
+#ifdef ENCODING_JP
+
+
+static uint32_t cs_jis0201_1976_0_from_unicode (unicode_t unicode) {
+ if (unicode <= 0x007d) return unicode;
+ if (0x007f <= unicode && unicode <= 0x009f) return unicode;
+ if (unicode == 0x203e) return 0x007e;
+ if (unicode >= 0xff61 && 0xff9f >= unicode) return unicode - 0xfec0;
+ return NOCHAR;
+}
+
+#else
+
+#define cs_jis0201_1976_0_from_unicode cs_unknown_from_unicode
+#define cs_jis0201_1976_0_to_unicode cs_unknown_to_unicode
+
+#endif