summaryrefslogtreecommitdiff
path: root/admin/charsets
diff options
context:
space:
mode:
authorKenichi Handa <handa@gnu.org>2012-10-14 17:01:30 +0900
committerKenichi Handa <handa@gnu.org>2012-10-14 17:01:30 +0900
commitf5772b8eaee90d0b50a60bd55d9d28805a2543cb (patch)
treef2bc109f3937f49aff7f08c1584e69b18a1e5dba /admin/charsets
parentd3e4228575e9ba9e99dc4a7dae788280ffcc4566 (diff)
downloademacs-f5772b8eaee90d0b50a60bd55d9d28805a2543cb.tar.gz
Add more mappings for the charset japanese-jisx0208-1978.
Diffstat (limited to 'admin/charsets')
-rw-r--r--admin/charsets/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/admin/charsets/Makefile b/admin/charsets/Makefile
index 91f541979da..e5cf2508d85 100644
--- a/admin/charsets/Makefile
+++ b/admin/charsets/Makefile
@@ -197,9 +197,19 @@ cp51932.el: CP932-2BYTE.map cp51932.awk
eucjp-ms.el: ${GLIBC_CHARMAPS}/EUC-JP-MS.gz eucjp-ms.awk
@zcat $< | $(AWK) -f eucjp-ms.awk > $@
-JISC6226.map : mapfiles/Uni2JIS mapconv kuten.awk
- # Generating $@...
- @./mapconv $< '/^[^#].*0-/' YASUOKA kuten.awk > $@
+JISC6226.map: mapfiles/Uni2JIS mapconv kuten.awk
+ # Generating $@...
+# As Uni2JIS doesn't contain mappings of characters added to Unicode
+# recently, we add them manually here (including one correction for
+# U+005C vs U+FF3C). These changes are based on bogytech's blog at
+# http://bogytech.blogspot.jp/search/label/emacs.
+ @./mapconv $< '/^[^#].*0-/' YASUOKA kuten.awk \
+ | sed -e '/0x2140/s/005C/FF3C/' \
+ -e '$$ a 0x3442 0x3D4E' \
+ -e '$$ a 0x374E 0x25874' \
+ -e '$$ a 0x3764 0x28EF6' \
+ -e '$$ a 0x513D 0x2F80F' \
+ -e '$$ a 0x7045 0x9724' > $@
KSC5601.map: ${GLIBC_CHARMAPS}/EUC-KR.gz mapconv compact.awk
# Generating $@...