summaryrefslogtreecommitdiff
path: root/jni/ruby/enc/trans/emoji_sjis_softbank.trans
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-16 18:49:26 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-30 00:39:06 +0900
commitfcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch)
tree64cb17de3f41a2b6fef2368028fbd00349946994 /jni/ruby/enc/trans/emoji_sjis_softbank.trans
Fresh start
Diffstat (limited to 'jni/ruby/enc/trans/emoji_sjis_softbank.trans')
-rw-r--r--jni/ruby/enc/trans/emoji_sjis_softbank.trans32
1 files changed, 32 insertions, 0 deletions
diff --git a/jni/ruby/enc/trans/emoji_sjis_softbank.trans b/jni/ruby/enc/trans/emoji_sjis_softbank.trans
new file mode 100644
index 0000000..c520035
--- /dev/null
+++ b/jni/ruby/enc/trans/emoji_sjis_softbank.trans
@@ -0,0 +1,32 @@
+#include "transcode_data.h"
+
+<%
+ transcode_tblgen "SJIS-SoftBank", "UTF8-SoftBank",
+ [["{00-7f}", :nomap]] +
+ citrus_decode_mapsrc("mskanji", 1, "JISX0201-KANA/UCS") +
+ citrus_decode_mapsrc("mskanji", 2, %w(EMOJI_SHIFT_JIS-SOFTBANK/UCS
+ JISX0208VDC:NEC/UCS
+ CP932VDC:NEC_IBM/UCS
+ CP932VDC:IBM/UCS
+ CP932UDA/UCS
+ JISX0208:MS/UCS).join(",")),
+ ValidEncoding('Shift_JIS')
+
+ transcode_tblgen "UTF8-SoftBank", "SJIS-SoftBank",
+ [["{00-7f}", :nomap]] +
+ citrus_decode_mapsrc("mskanji", 1, "UCS/JISX0201-KANA") +
+ citrus_decode_mapsrc("mskanji", 2, %w(UCS/EMOJI_SHIFT_JIS-SOFTBANK
+ UCS/JISX0208VDC:NEC
+ UCS/CP932VDC:NEC_IBM
+ UCS/CP932VDC:IBM
+ UCS/CP932UDA
+ UCS/JISX0208:MS).join(",")),
+ ValidEncoding('UTF-8')
+%>
+
+<%= transcode_generated_code %>
+
+TRANS_INIT(emoji_sjis_softbank)
+{
+<%= transcode_register_code %>
+}