summaryrefslogtreecommitdiffstats
path: root/share/i18n/esdb
diff options
context:
space:
mode:
Diffstat (limited to 'share/i18n/esdb')
-rw-r--r--share/i18n/esdb/APPLE/MAC.alias16
-rw-r--r--share/i18n/esdb/APPLE/MAC.part24
-rw-r--r--share/i18n/esdb/APPLE/MAC.src7
-rw-r--r--share/i18n/esdb/APPLE/Makefile9
-rw-r--r--share/i18n/esdb/AST/ARMSCII-7.src7
-rw-r--r--share/i18n/esdb/AST/ARMSCII.alias11
-rw-r--r--share/i18n/esdb/AST/ARMSCII.part6
-rw-r--r--share/i18n/esdb/AST/ARMSCII.src7
-rw-r--r--share/i18n/esdb/AST/Makefile9
-rw-r--r--share/i18n/esdb/BIG5/Big5.alias18
-rw-r--r--share/i18n/esdb/BIG5/Big5.part9
-rw-r--r--share/i18n/esdb/BIG5/Big5.src9
-rw-r--r--share/i18n/esdb/BIG5/Big5.variable9
-rw-r--r--share/i18n/esdb/BIG5/Makefile24
-rw-r--r--share/i18n/esdb/CP/CP.alias351
-rw-r--r--share/i18n/esdb/CP/CP.part89
-rw-r--r--share/i18n/esdb/CP/CP.src6
-rw-r--r--share/i18n/esdb/CP/CP50220.src11
-rw-r--r--share/i18n/esdb/CP/CP50221.src12
-rw-r--r--share/i18n/esdb/CP/CP50222.src12
-rw-r--r--share/i18n/esdb/CP/CP51932.src10
-rw-r--r--share/i18n/esdb/CP/CP932.src10
-rw-r--r--share/i18n/esdb/CP/CP936.src10
-rw-r--r--share/i18n/esdb/CP/CP942.src10
-rw-r--r--share/i18n/esdb/CP/CP942C.src10
-rw-r--r--share/i18n/esdb/CP/CP943.src10
-rw-r--r--share/i18n/esdb/CP/CP943C.src10
-rw-r--r--share/i18n/esdb/CP/CP949.src10
-rw-r--r--share/i18n/esdb/CP/CP950.src9
-rw-r--r--share/i18n/esdb/CP/Makefile8
-rw-r--r--share/i18n/esdb/DEC/DEC.alias8
-rw-r--r--share/i18n/esdb/DEC/DEC.part5
-rw-r--r--share/i18n/esdb/DEC/DEC.src6
-rw-r--r--share/i18n/esdb/DEC/DECHanyu.src12
-rw-r--r--share/i18n/esdb/DEC/Makefile8
-rw-r--r--share/i18n/esdb/EBCDIC/EBCDIC.alias2
-rw-r--r--share/i18n/esdb/EBCDIC/EBCDIC.part17
-rw-r--r--share/i18n/esdb/EBCDIC/EBCDIC.src6
-rw-r--r--share/i18n/esdb/EBCDIC/Makefile7
-rw-r--r--share/i18n/esdb/EUC/EUC-CN.src9
-rw-r--r--share/i18n/esdb/EUC/EUC-JIS-2004.src11
-rw-r--r--share/i18n/esdb/EUC/EUC-JP-MS.src11
-rw-r--r--share/i18n/esdb/EUC/EUC-JP.src11
-rw-r--r--share/i18n/esdb/EUC/EUC-KR.src9
-rw-r--r--share/i18n/esdb/EUC/EUC-TW.src15
-rw-r--r--share/i18n/esdb/EUC/EUC.alias32
-rw-r--r--share/i18n/esdb/EUC/EUC.part9
-rw-r--r--share/i18n/esdb/EUC/Makefile7
-rw-r--r--share/i18n/esdb/GB/GB.alias2
-rw-r--r--share/i18n/esdb/GB/GB.part6
-rw-r--r--share/i18n/esdb/GB/GB12345.src9
-rw-r--r--share/i18n/esdb/GB/GB18030.src11
-rw-r--r--share/i18n/esdb/GB/GBK.src10
-rw-r--r--share/i18n/esdb/GB/Makefile8
-rw-r--r--share/i18n/esdb/GEORGIAN/GEORGIAN.alias10
-rw-r--r--share/i18n/esdb/GEORGIAN/GEORGIAN.part7
-rw-r--r--share/i18n/esdb/GEORGIAN/GEORGIAN.src7
-rw-r--r--share/i18n/esdb/GEORGIAN/Makefile8
-rw-r--r--share/i18n/esdb/ISO-2022/ISO-2022-CN-EXT.src22
-rw-r--r--share/i18n/esdb/ISO-2022/ISO-2022-CN.src11
-rw-r--r--share/i18n/esdb/ISO-2022/ISO-2022-JP-1.src12
-rw-r--r--share/i18n/esdb/ISO-2022/ISO-2022-JP-2.src14
-rw-r--r--share/i18n/esdb/ISO-2022/ISO-2022-JP-2004.src12
-rw-r--r--share/i18n/esdb/ISO-2022/ISO-2022-JP.src11
-rw-r--r--share/i18n/esdb/ISO-2022/ISO-2022-KR.src9
-rw-r--r--share/i18n/esdb/ISO-2022/ISO-2022.alias22
-rw-r--r--share/i18n/esdb/ISO-2022/ISO-2022.part10
-rw-r--r--share/i18n/esdb/ISO-2022/Makefile7
-rw-r--r--share/i18n/esdb/ISO-8859/ISO-8859.alias143
-rw-r--r--share/i18n/esdb/ISO-8859/ISO-8859.part18
-rw-r--r--share/i18n/esdb/ISO-8859/ISO-8859.src7
-rw-r--r--share/i18n/esdb/ISO-8859/Makefile7
-rw-r--r--share/i18n/esdb/ISO646/ISO646.alias108
-rw-r--r--share/i18n/esdb/ISO646/ISO646.part29
-rw-r--r--share/i18n/esdb/ISO646/ISO646.src7
-rw-r--r--share/i18n/esdb/ISO646/Makefile7
-rw-r--r--share/i18n/esdb/KAZAKH/KAZAKH.alias14
-rw-r--r--share/i18n/esdb/KAZAKH/KAZAKH.part5
-rw-r--r--share/i18n/esdb/KAZAKH/KZ1048.src8
-rw-r--r--share/i18n/esdb/KAZAKH/Makefile8
-rw-r--r--share/i18n/esdb/KAZAKH/PTCP154.src8
-rw-r--r--share/i18n/esdb/KOI/KOI.alias13
-rw-r--r--share/i18n/esdb/KOI/KOI.part12
-rw-r--r--share/i18n/esdb/KOI/KOI.src7
-rw-r--r--share/i18n/esdb/KOI/KOI7-switched.src10
-rw-r--r--share/i18n/esdb/KOI/KOI7.src8
-rw-r--r--share/i18n/esdb/KOI/Makefile8
-rw-r--r--share/i18n/esdb/MISC/ATARIST.src8
-rw-r--r--share/i18n/esdb/MISC/C99.src8
-rw-r--r--share/i18n/esdb/MISC/CTEXT.src16
-rw-r--r--share/i18n/esdb/MISC/HP-ROMAN8.src8
-rw-r--r--share/i18n/esdb/MISC/HZ.src9
-rw-r--r--share/i18n/esdb/MISC/HZ8.src10
-rw-r--r--share/i18n/esdb/MISC/ISO-IR-165.src7
-rw-r--r--share/i18n/esdb/MISC/JAVA.src8
-rw-r--r--share/i18n/esdb/MISC/JISX0201-KANA.src7
-rw-r--r--share/i18n/esdb/MISC/JISX0208@1990.src7
-rw-r--r--share/i18n/esdb/MISC/JOHAB.src10
-rw-r--r--share/i18n/esdb/MISC/MISC.alias38
-rw-r--r--share/i18n/esdb/MISC/MISC.part21
-rw-r--r--share/i18n/esdb/MISC/MULELAO-1.src8
-rw-r--r--share/i18n/esdb/MISC/Makefile8
-rw-r--r--share/i18n/esdb/MISC/NEXTSTEP.src8
-rw-r--r--share/i18n/esdb/MISC/RISCOS-LATIN1.src8
-rw-r--r--share/i18n/esdb/MISC/Shift_JIS-2004.src11
-rw-r--r--share/i18n/esdb/MISC/Shift_JIS.src10
-rw-r--r--share/i18n/esdb/MISC/TDS565.src8
-rw-r--r--share/i18n/esdb/MISC/ZW.src9
-rw-r--r--share/i18n/esdb/Makefile32
-rw-r--r--share/i18n/esdb/Makefile.inc6
-rw-r--r--share/i18n/esdb/Makefile.part83
-rw-r--r--share/i18n/esdb/TCVN/Makefile8
-rw-r--r--share/i18n/esdb/TCVN/TCVN.alias11
-rw-r--r--share/i18n/esdb/TCVN/TCVN.part6
-rw-r--r--share/i18n/esdb/TCVN/TCVN5712-1.src8
-rw-r--r--share/i18n/esdb/TCVN/VIQR.src8
-rw-r--r--share/i18n/esdb/TCVN/VISCII.src7
-rw-r--r--share/i18n/esdb/UTF/Makefile41
-rw-r--r--share/i18n/esdb/UTF/UTF.alias41
-rw-r--r--share/i18n/esdb/UTF/UTF.part15
-rw-r--r--share/i18n/esdb/UTF/UTF.src8
121 files changed, 2064 insertions, 0 deletions
diff --git a/share/i18n/esdb/APPLE/MAC.alias b/share/i18n/esdb/APPLE/MAC.alias
new file mode 100644
index 0000000..cfc4116
--- /dev/null
+++ b/share/i18n/esdb/APPLE/MAC.alias
@@ -0,0 +1,16 @@
+# $FreeBSD$
+# $NetBSD: MAC.alias,v 1.1 2006/03/13 19:45:36 tnozaki Exp $
+
+CENTEURO maccentraleurope
+
+CYRILLIC mac-cyrillic
+CYRILLIC macukraine
+CYRILLIC macukrainian
+
+DEVANAGA macdevanagari iscii-dev
+
+ROMAN csmacintosh
+ROMAN mac
+ROMAN macintosh
+
+ROMANIAN macromania
diff --git a/share/i18n/esdb/APPLE/MAC.part b/share/i18n/esdb/APPLE/MAC.part
new file mode 100644
index 0000000..c0fe838e
--- /dev/null
+++ b/share/i18n/esdb/APPLE/MAC.part
@@ -0,0 +1,24 @@
+# $FreeBSD$
+# $NetBSD: MAC.part,v 1.1 2006/03/13 19:45:36 tnozaki Exp $
+
+ARABIC
+CELTIC
+CENTEURO
+CROATIAN
+CYRILLIC
+DEVANAGA
+DINGBATS
+FARSI
+GAELIC
+GREEK
+GUJARATI
+GURMUKHI
+HEBREW
+ICELAND
+INUIT
+KEYBOARD
+ROMAN
+ROMANIAN
+SYMBOL
+THAI
+TURKISH
diff --git a/share/i18n/esdb/APPLE/MAC.src b/share/i18n/esdb/APPLE/MAC.src
new file mode 100644
index 0000000..579dea7
--- /dev/null
+++ b/share/i18n/esdb/APPLE/MAC.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: MAC.src,v 1.1 2006/03/13 19:45:36 tnozaki Exp $
+
+NAME "MACchangeme"
+ENCODING "NONE"
+DEFCSID "changeme" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/APPLE/Makefile b/share/i18n/esdb/APPLE/Makefile
new file mode 100644
index 0000000..4a560d0
--- /dev/null
+++ b/share/i18n/esdb/APPLE/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.2 2008/10/25 22:27:35 apb Exp $
+
+CODE= MAC
+ESUBDIR= APPLE
+SED_EXP= 's/changeme/%%PART%%/'
+NO_SEP= yes
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/AST/ARMSCII-7.src b/share/i18n/esdb/AST/ARMSCII-7.src
new file mode 100644
index 0000000..fd0395a
--- /dev/null
+++ b/share/i18n/esdb/AST/ARMSCII-7.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: ARMSCII-7.src,v 1.1 2006/04/01 04:13:22 tnozaki Exp $
+
+NAME "ARMSCII-7"
+ENCODING "NONE"
+DEFCSID "ARMSCII-7" 0
+INVALID 0x31 # U+055E = ARMENIAN QUESTION MARK
diff --git a/share/i18n/esdb/AST/ARMSCII.alias b/share/i18n/esdb/AST/ARMSCII.alias
new file mode 100644
index 0000000..406a1fe
--- /dev/null
+++ b/share/i18n/esdb/AST/ARMSCII.alias
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# $NetBSD: ARMSCII.alias,v 1.1 2006/04/01 04:13:22 tnozaki Exp $
+
+7 ast_34.005
+7 ast166-7
+
+8 ast_34.002
+8 ast166-8
+
+8A ast_34.002_a
+8A ast166-a
diff --git a/share/i18n/esdb/AST/ARMSCII.part b/share/i18n/esdb/AST/ARMSCII.part
new file mode 100644
index 0000000..e697b3a
--- /dev/null
+++ b/share/i18n/esdb/AST/ARMSCII.part
@@ -0,0 +1,6 @@
+# $FreeBSD$
+# $NetBSD: ARMSCII.part,v 1.1 2006/04/01 04:13:22 tnozaki Exp $
+
+7
+8
+8A
diff --git a/share/i18n/esdb/AST/ARMSCII.src b/share/i18n/esdb/AST/ARMSCII.src
new file mode 100644
index 0000000..646dcbe
--- /dev/null
+++ b/share/i18n/esdb/AST/ARMSCII.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: ARMSCII.src,v 1.1 2006/04/01 04:13:22 tnozaki Exp $
+
+NAME "ARMSCII-x"
+ENCODING "NONE"
+DEFCSID "ARMSCII-x" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/AST/Makefile b/share/i18n/esdb/AST/Makefile
new file mode 100644
index 0000000..4fda577
--- /dev/null
+++ b/share/i18n/esdb/AST/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.2 2008/10/25 22:27:35 apb Exp $
+
+CODE= ARMSCII
+SEP= -
+ESUBDIR= AST
+SED_EXP= 's/ARMSCII-x/ARMSCII-%%PART%%/'
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/BIG5/Big5.alias b/share/i18n/esdb/BIG5/Big5.alias
new file mode 100644
index 0000000..f9a8bf0
--- /dev/null
+++ b/share/i18n/esdb/BIG5/Big5.alias
@@ -0,0 +1,18 @@
+# $FreeBSD$
+# $NetBSD: Big5.alias,v 1.2 2007/03/05 16:58:34 tnozaki Exp $
+
+E big5e
+
+ETen big-5
+ETen big-five
+ETen big5
+ETen big5eten
+ETen bigfive
+ETen cn-big5
+ETen csbig5
+
+HKSCS big5-hkscs:2004
+HKSCS big5hkscs
+
+Plus big-5+
+Plus big5+
diff --git a/share/i18n/esdb/BIG5/Big5.part b/share/i18n/esdb/BIG5/Big5.part
new file mode 100644
index 0000000..ec5e2df
--- /dev/null
+++ b/share/i18n/esdb/BIG5/Big5.part
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: Big5.part,v 1.2 2007/03/05 16:58:34 tnozaki Exp $
+
+2003
+E
+ETen
+HKSCS
+IBM
+Plus
diff --git a/share/i18n/esdb/BIG5/Big5.src b/share/i18n/esdb/BIG5/Big5.src
new file mode 100644
index 0000000..df32cc4
--- /dev/null
+++ b/share/i18n/esdb/BIG5/Big5.src
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: Big5.src,v 1.1 2006/06/19 17:28:25 tnozaki Exp $
+
+NAME "encoding"
+ENCODING "BIG5"
+VARIABLE "variable"
+DEFCSID "ISO646-US" 0
+DEFCSID "encoding" 1
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/BIG5/Big5.variable b/share/i18n/esdb/BIG5/Big5.variable
new file mode 100644
index 0000000..1833dbe
--- /dev/null
+++ b/share/i18n/esdb/BIG5/Big5.variable
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: Big5.variable,v 1.2 2007/03/05 16:58:34 tnozaki Exp $
+
+2003 row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;
+E row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;excludes=0xA3C0-0xA3FE,0xC8D4-0xC8FE;
+ETen row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;excludes=0xA3C0-0xA3FE,0xC8D4-0xC8FE;
+HKSCS row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;
+IBM row=0xA1-0xF9;col=0x40-0x7E,0xA1-0xFE;excludes=0xA3E1-0xA3FE;
+Plus row=0x81-0xFE;col=0x40-0xFE;
diff --git a/share/i18n/esdb/BIG5/Makefile b/share/i18n/esdb/BIG5/Makefile
new file mode 100644
index 0000000..4852b83
--- /dev/null
+++ b/share/i18n/esdb/BIG5/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.3 2008/10/25 22:35:36 apb Exp $
+
+CODE= Big5
+ESUBDIR= BIG5
+NO_PREPROC= yes
+
+.include "../Makefile.part"
+
+.for i in ${PART:S/:/@/}
+Big5_$i_variable!= sed \
+ '/^\#/d;/^ *$$/d;/^${i:S/@/:/}[ ]/!d;s/^[^ ]*[ ]*//' \
+ ${.CURDIR}/Big5.variable
+.endfor
+.for i in ${PART}
+.if !exists(Big5-${i:S/:/@/}.src)
+# XXX: FIXME
+Big5-${i:S/:/@/}.src: Big5.src Big5.variable
+ sed -e 's/encoding/Big5-$i/' \
+ -e 's/variable/${Big5_$i_variable}/' \
+ ${.CURDIR}/Big5.src > $@
+ @echo Big5-${i:S/:/@/}.src >>.tmpfiles
+.endif
+.endfor
diff --git a/share/i18n/esdb/CP/CP.alias b/share/i18n/esdb/CP/CP.alias
new file mode 100644
index 0000000..ea4b3bf
--- /dev/null
+++ b/share/i18n/esdb/CP/CP.alias
@@ -0,0 +1,351 @@
+# $FreeBSD$
+# $NetBSD: CP.alias,v 1.12 2007/07/15 14:41:18 tnozaki Exp $
+
+037 037
+037 ebcdic-cp-ca
+037 ebcdic-cp-us
+037 ebcdic-cp-nl
+037 ebcdic-cp-wt
+037 ibm037
+
+038 038
+038 ebcdic-int
+038 ibm038
+
+273 273
+273 ibm273
+
+274 274
+274 ebcdic-be
+274 ibm274
+
+
+275 275
+275 ebcdic-br
+275 ibm275
+
+277 277
+277 ebcdic-cp-dk
+277 ebcdic-cp-no
+277 ibm277
+
+278 278
+278 ebcdic-cp-fi
+278 ebcdic-cp-se
+278 ibm278
+
+280 280
+280 ebcdic-cp-it
+280 ibm280
+
+281 281
+281 ebcdic-jp-e
+281 ibm281
+
+284 284
+284 ebcdic-cp-es
+284 ibm284
+
+285 285
+285 ebcdic-cp-gb
+285 ibm285
+
+290 290
+290 ebcdic-jp-kana
+290 ibm290
+
+297 297
+297 ebcdic-cp-fr
+297 ibm297
+
+420 420
+420 ebcdic-cp-ar1
+420 ibm420
+
+423 423
+423 ebcdic-cp-gr
+423 ibm423
+
+424 424
+424 ebcdic-cp-he
+424 ibm424
+
+
+437 437
+437 cspc8codepage437
+437 ibm437
+
+
+500 500
+500 ebcdic-cp-be
+500 ebcdic-cp-ch
+500 ibm500
+
+737 737
+737 mscp737
+
+775 775
+775 cspc775baltic
+775 mscp775
+
+850 850
+850 cspc850multilingual
+850 ibm850
+
+851 851
+851 ibm851
+
+852 852
+852 cspc852
+852 ibm852
+
+853 853
+853 ibm853
+
+855 855
+855 csibm855
+855 ibm855
+
+856 856
+856 mscp856
+
+857 857
+857 csibm857
+857 ibm857
+
+858 858
+858 ibm858
+
+860 860
+860 csibm860
+860 ibm860
+
+861 861
+861 csibm861
+861 cp-is
+861 ibm861
+
+862 cp862
+862 cspc862latinhebrew
+862 ibm862
+
+863 863
+863 csibm863
+863 ibm863
+
+864 864
+864 csibm864
+864 ibm864
+
+865 865
+865 csibm865
+865 ibm865
+
+866 866
+866 csibm866
+866 mscp866
+
+868 868
+868 cp-ar
+868 ibm868
+
+869 869
+869 cp-gr
+869 csibm869
+869 ibm869
+
+870 870
+870 ebcdic-cp-roece
+870 ebcdic-cp-yu
+870 ibm870
+
+871 871
+871 ebcdic-cp-is
+871 ibm871
+
+874 874
+874 ibm874
+874 windows-874
+
+875 875
+875 mscp875
+
+880 880
+880 ebcdic-cyrillic
+880 ibm880
+
+891 891
+891 ibm891
+
+903 903
+903 ibm903
+
+904 904
+904 ibm904
+
+905 905
+905 ebcdic-cp-tr
+905 ibm905
+
+918 918
+918 ebcdic-cp-ar2
+918 ibm918
+
+922 922
+922 ibm922
+
+932 932
+932 cswindows31j
+932 ms932
+932 mscp932
+932 shift_jis-ms
+932 sjis-ms
+932 sjis-open
+932 sjis-win
+932 windows-31j
+932 windows-932
+
+936 936
+936 mscp936
+936 windows-936
+
+949 949
+949 mscp949
+949 uhc
+
+942 942
+942 ibm942
+
+942C 942c
+942C ibm942c
+
+943 943
+943 ibm943
+
+943C 943c
+943C ibm943c
+
+950 950
+950 mscp950
+
+1006 1006
+1006 mscp1006
+
+1026 1026
+1026 ibm1026
+
+1046 1046
+1046 ibm1046
+
+1124 1124
+1124 ibm1124
+
+1125 1125
+1125 ibm1125
+
+1129 1129
+1129 ibm1129
+
+1131 1131
+1131 ibm1131
+
+1133 1133
+1133 ibm-cp1133
+1133 ibm1133
+
+1161 1161
+1161 csibm1161
+1161 ibm-1161
+1161 ibm1161
+
+1162 1162
+1162 csibm1162
+1162 ibm-1162
+1162 ibm1162
+1162 mscp874
+1162 windows-874
+
+1163 1163
+1163 csibm1163
+1163 ibm-1163
+1163 ibm1163
+
+1250 1250
+1250 ms-ee
+1250 mscp1250
+1250 windows-1250
+
+1251 1251
+1251 ms-cyrl
+1251 mscp1251
+1251 windows-1251
+
+1252 1252
+1252 ms-ansi
+1252 mscp1252
+1252 windows-1252
+
+1253 1253
+1253 ms-greek
+1253 mscp1253
+1253 windows-1253
+
+1254 1254
+1254 ms-turk
+1254 mscp1254
+1254 windows-1254
+
+1255 1255
+1255 ms-hebr
+1255 mscp1255
+1255 windows-1255
+
+1256 1256
+1256 ms-arab
+1256 mscp1256
+1256 windows-1256
+
+1257 1257
+1257 mscp1257
+1257 winbaltrim
+1257 windows-1257
+
+1258 1258
+1258 mscp1258
+1258 windows-1258
+
+10000 10000
+10000 cp10000_MacRoman
+
+10006 10006
+10006 cp10006_MacGreek
+
+10007 10007
+10007 cp10007_MacCyrillic
+10007 ms-mac-cyrillic
+
+10029 10029
+10029 cp10029_MacLatin2
+
+10079 10079
+10079 cp10079_MacIcelandic
+
+10081 10081
+10081 cp10081_MacTurkish
+
+50220 50220
+50220 mscp50220
+50220 windows-50220
+
+50221 50221
+50221 mscp50221
+50221 windows-50221
+
+50222 50222
+50222 mscp50222
+50222 windows-50222
+
+51932 51932
+51932 ms51932
+51932 mscp51932
+51932 windows-51932
diff --git a/share/i18n/esdb/CP/CP.part b/share/i18n/esdb/CP/CP.part
new file mode 100644
index 0000000..93286ff
--- /dev/null
+++ b/share/i18n/esdb/CP/CP.part
@@ -0,0 +1,89 @@
+# $FreeBSD$
+# $NetBSD: CP.part,v 1.10 2007/07/15 14:41:18 tnozaki Exp $
+
+037
+038
+273
+274
+275
+277
+278
+280
+281
+284
+285
+290
+297
+420
+423
+424
+437
+500
+737
+775
+850
+851
+852
+853
+855
+856
+857
+858
+860
+861
+862
+863
+864
+865
+866
+868
+869
+870
+871
+874
+875
+880
+891
+903
+904
+905
+918
+922
+932
+936
+942
+942C
+943
+943C
+949
+950
+1006
+1026
+1046
+1124
+1125
+1129
+1131
+1133
+1161
+1162
+1163
+1250
+1251
+1252
+1253
+1254
+1255
+1256
+1257
+1258
+10000
+10006
+10007
+10029
+10079
+10081
+50220
+50221
+50222
+51932
diff --git a/share/i18n/esdb/CP/CP.src b/share/i18n/esdb/CP/CP.src
new file mode 100644
index 0000000..82c7600
--- /dev/null
+++ b/share/i18n/esdb/CP/CP.src
@@ -0,0 +1,6 @@
+# $FreeBSD$
+# $NetBSD: CP.src,v 1.1 2003/06/27 08:40:51 tshiozak Exp $
+
+NAME "CPx"
+ENCODING "NONE"
+DEFCSID "CPx" 0
diff --git a/share/i18n/esdb/CP/CP50220.src b/share/i18n/esdb/CP/CP50220.src
new file mode 100644
index 0000000..06c8559
--- /dev/null
+++ b/share/i18n/esdb/CP/CP50220.src
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# $NetBSD: CP50220.src,v 1.1 2006/11/04 03:46:19 tnozaki Exp $
+
+NAME "CP50220"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94B 0=94B 0=94J 0=94$B 0=94$@"
+DEFCSID "ISO646-US" 0
+DEFCSID "ISO646-JP" 0x4A000000
+DEFCSID "CP50220" 0x42007F00
+DEFCSID "JISX0208:1978" 0x40007F00
+INVALID 0x4200222E # GETA
diff --git a/share/i18n/esdb/CP/CP50221.src b/share/i18n/esdb/CP/CP50221.src
new file mode 100644
index 0000000..b79fbfc
--- /dev/null
+++ b/share/i18n/esdb/CP/CP50221.src
@@ -0,0 +1,12 @@
+# $FreeBSD$
+# $NetBSD: CP50221.src,v 1.1 2006/11/04 03:46:19 tnozaki Exp $
+
+NAME "CP50221"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94B INIT1=94I 0=94B 0=94J 0=94$B 0=94$@ 0=94I 1=94I SI SO"
+DEFCSID "ISO646-US" 0
+DEFCSID "ISO646-JP" 0x4A000000
+DEFCSID "CP50220" 0x42007F00
+DEFCSID "JISX0208:1978" 0x40007F00
+DEFCSID "JISX0201-KANA" 0x49000000
+INVALID 0x4200222E # GETA
diff --git a/share/i18n/esdb/CP/CP50222.src b/share/i18n/esdb/CP/CP50222.src
new file mode 100644
index 0000000..d128057
--- /dev/null
+++ b/share/i18n/esdb/CP/CP50222.src
@@ -0,0 +1,12 @@
+# $FreeBSD$
+# $NetBSD: CP50222.src,v 1.1 2006/11/04 03:46:19 tnozaki Exp $
+
+NAME "CP50222"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94B INIT1=94I 0=94B 0=94J 0=94$B 0=94$@ 1=94I SI SO"
+DEFCSID "ISO646-US" 0
+DEFCSID "ISO646-JP" 0x4A000000
+DEFCSID "CP50220" 0x42007F00
+DEFCSID "JISX0208:1978" 0x40007F00
+DEFCSID "JISX0201-KANA" 0x49000000
+INVALID 0x4200222E # GETA
diff --git a/share/i18n/esdb/CP/CP51932.src b/share/i18n/esdb/CP/CP51932.src
new file mode 100644
index 0000000..c4e58a1
--- /dev/null
+++ b/share/i18n/esdb/CP/CP51932.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: CP51932.src,v 1.1 2006/11/04 03:46:19 tnozaki Exp $
+
+NAME "CP51932"
+ENCODING "EUC"
+VARIABLE "1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080"
+DEFCSID "ISO646-US" 0
+DEFCSID "CP51932" 0x8080
+DEFCSID "JISX0201-KANA" 0x0080
+INVALID 0xA2AE # GETA
diff --git a/share/i18n/esdb/CP/CP932.src b/share/i18n/esdb/CP/CP932.src
new file mode 100644
index 0000000..4aec0a1
--- /dev/null
+++ b/share/i18n/esdb/CP/CP932.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: CP932.src,v 1.4 2006/11/04 03:53:11 tnozaki Exp $
+
+NAME "CP932"
+ENCODING "MSKanji"
+VARIABLE "CP932"
+DEFCSID "ISO646-US" 0
+DEFCSID "JISX0201-KANA" 1
+DEFCSID "CP932KANJI" 2
+INVALID 0x81AC # GETA
diff --git a/share/i18n/esdb/CP/CP936.src b/share/i18n/esdb/CP/CP936.src
new file mode 100644
index 0000000..a0ec63b
--- /dev/null
+++ b/share/i18n/esdb/CP/CP936.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: CP936.src,v 1.2 2006/08/19 10:58:41 tnozaki Exp $
+
+NAME "CP936"
+ENCODING "GBK2K"
+VARIABLE "2byte"
+DEFCSID "ISO646-US" 0
+DEFCSID "GB2312:CP936" 1
+DEFCSID "CP936EXT" 2
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/CP/CP942.src b/share/i18n/esdb/CP/CP942.src
new file mode 100644
index 0000000..44945b5
--- /dev/null
+++ b/share/i18n/esdb/CP/CP942.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: CP942.src,v 1.1 2006/11/29 15:45:26 tnozaki Exp $
+
+NAME "CP942"
+ENCODING "MSKanji"
+VARIABLE "CP942"
+DEFCSID "ISO646-JP" 0
+DEFCSID "JISX0201-KANA" 1
+DEFCSID "CP942" 2
+INVALID 0x81AC # GETA
diff --git a/share/i18n/esdb/CP/CP942C.src b/share/i18n/esdb/CP/CP942C.src
new file mode 100644
index 0000000..2de8cc1
--- /dev/null
+++ b/share/i18n/esdb/CP/CP942C.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: CP942C.src,v 1.1 2006/11/29 15:45:26 tnozaki Exp $
+
+NAME "CP942C"
+ENCODING "MSKanji"
+VARIABLE "CP942C"
+DEFCSID "ISO646-US" 0
+DEFCSID "JISX0201-KANA" 1
+DEFCSID "CP942" 2
+INVALID 0x81AC # GETA
diff --git a/share/i18n/esdb/CP/CP943.src b/share/i18n/esdb/CP/CP943.src
new file mode 100644
index 0000000..5670c8a
--- /dev/null
+++ b/share/i18n/esdb/CP/CP943.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: CP943.src,v 1.1 2006/11/29 15:45:26 tnozaki Exp $
+
+NAME "CP943"
+ENCODING "MSKanji"
+VARIABLE "CP943"
+DEFCSID "ISO646-JP" 0
+DEFCSID "JISX0201-KANA" 1
+DEFCSID "CP943" 2
+INVALID 0x81AC # GETA
diff --git a/share/i18n/esdb/CP/CP943C.src b/share/i18n/esdb/CP/CP943C.src
new file mode 100644
index 0000000..d0ae684
--- /dev/null
+++ b/share/i18n/esdb/CP/CP943C.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: CP943C.src,v 1.1 2006/11/29 15:45:26 tnozaki Exp $
+
+NAME "CP943C"
+ENCODING "MSKanji"
+VARIABLE "CP943C"
+DEFCSID "ISO646-US" 0
+DEFCSID "JISX0201-KANA" 1
+DEFCSID "CP943" 2
+INVALID 0x81AC # GETA
diff --git a/share/i18n/esdb/CP/CP949.src b/share/i18n/esdb/CP/CP949.src
new file mode 100644
index 0000000..f64d8f5
--- /dev/null
+++ b/share/i18n/esdb/CP/CP949.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: CP949.src,v 1.1 2003/06/27 08:40:52 tshiozak Exp $
+
+NAME "CP949"
+ENCODING "GBK2K"
+VARIABLE "2byte"
+DEFCSID "ISO646-US" 0
+DEFCSID "KSC5601" 1
+DEFCSID "CP949EXT" 2
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/CP/CP950.src b/share/i18n/esdb/CP/CP950.src
new file mode 100644
index 0000000..01612df
--- /dev/null
+++ b/share/i18n/esdb/CP/CP950.src
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: CP950.src,v 1.1 2003/06/27 08:40:52 tshiozak Exp $
+
+NAME "CP950"
+ENCODING "BIG5"
+VARIABLE "CP950"
+DEFCSID "ISO646-US" 0
+DEFCSID "CP950" 1
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/CP/Makefile b/share/i18n/esdb/CP/Makefile
new file mode 100644
index 0000000..2b80b2f
--- /dev/null
+++ b/share/i18n/esdb/CP/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.4 2008/10/25 22:27:35 apb Exp $
+
+CODE= CP
+SED_EXP= "s/CPx/CP%%PART%%/"
+NO_SEP= yes
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/DEC/DEC.alias b/share/i18n/esdb/DEC/DEC.alias
new file mode 100644
index 0000000..0bf8e00
--- /dev/null
+++ b/share/i18n/esdb/DEC/DEC.alias
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: DEC.alias,v 1.1 2007/04/01 18:52:30 tnozaki Exp $
+
+Hanyu dec-hanyu
+Hanyu dec_hanyu
+
+MCS dec-mcs
+MCS dec_mcs
diff --git a/share/i18n/esdb/DEC/DEC.part b/share/i18n/esdb/DEC/DEC.part
new file mode 100644
index 0000000..e8cedb5a
--- /dev/null
+++ b/share/i18n/esdb/DEC/DEC.part
@@ -0,0 +1,5 @@
+# $FreeBSD$
+# $NetBSD: DEC.part,v 1.1 2007/04/01 18:52:30 tnozaki Exp $
+
+Hanyu
+MCS
diff --git a/share/i18n/esdb/DEC/DEC.src b/share/i18n/esdb/DEC/DEC.src
new file mode 100644
index 0000000..401202c
--- /dev/null
+++ b/share/i18n/esdb/DEC/DEC.src
@@ -0,0 +1,6 @@
+# $FreeBSD$
+# $NetBSD: DEC.src,v 1.1 2007/04/01 18:52:30 tnozaki Exp $
+
+NAME "DECx"
+ENCODING "NONE"
+DEFCSID "DECx" 0
diff --git a/share/i18n/esdb/DEC/DECHanyu.src b/share/i18n/esdb/DEC/DECHanyu.src
new file mode 100644
index 0000000..b3cc61b
--- /dev/null
+++ b/share/i18n/esdb/DEC/DECHanyu.src
@@ -0,0 +1,12 @@
+# $FreeBSD$
+# $NetBSD: DECHanyu.src,v 1.1 2007/04/01 18:52:30 tnozaki Exp $
+
+NAME "DECHanyu"
+ENCODING "DECHanyu"
+VARIABLE ""
+DEFCSID "ISO646-US" 0
+DEFCSID "CNS11643-1" 1
+DEFCSID "CNS11643-2" 2
+DEFCSID "CNS11643-3" 3
+DEFCSID "DECUDA" 4
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/DEC/Makefile b/share/i18n/esdb/DEC/Makefile
new file mode 100644
index 0000000..582385b
--- /dev/null
+++ b/share/i18n/esdb/DEC/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.2 2008/10/25 22:27:36 apb Exp $
+
+CODE= DEC
+SED_EXP= 's/DECx/DEC%%PART%%/'
+NO_SEP= yes
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/EBCDIC/EBCDIC.alias b/share/i18n/esdb/EBCDIC/EBCDIC.alias
new file mode 100644
index 0000000..4633747
--- /dev/null
+++ b/share/i18n/esdb/EBCDIC/EBCDIC.alias
@@ -0,0 +1,2 @@
+# $FreeBSD$
+# $NetBSD: EBCDIC.alias,v 1.1 2003/06/27 08:40:53 tshiozak Exp $
diff --git a/share/i18n/esdb/EBCDIC/EBCDIC.part b/share/i18n/esdb/EBCDIC/EBCDIC.part
new file mode 100644
index 0000000..15ffac4
--- /dev/null
+++ b/share/i18n/esdb/EBCDIC/EBCDIC.part
@@ -0,0 +1,17 @@
+# $FreeBSD$
+# $NetBSD: EBCDIC.part,v 1.1 2003/06/27 08:40:53 tshiozak Exp $
+
+AT-DE
+AT-DE-A
+CA-FR
+DK-NO
+DK-NO-A
+ES
+ES-A
+ES-S
+FI-SE
+FI-SE-A
+FR
+IT
+PT
+UK
diff --git a/share/i18n/esdb/EBCDIC/EBCDIC.src b/share/i18n/esdb/EBCDIC/EBCDIC.src
new file mode 100644
index 0000000..805e207
--- /dev/null
+++ b/share/i18n/esdb/EBCDIC/EBCDIC.src
@@ -0,0 +1,6 @@
+# $FreeBSD$
+# $NetBSD: EBCDIC.src,v 1.1 2003/06/27 08:40:53 tshiozak Exp $
+
+NAME "EBCDIC-x"
+ENCODING "NONE"
+DEFCSID "EBCDIC-x" 0
diff --git a/share/i18n/esdb/EBCDIC/Makefile b/share/i18n/esdb/EBCDIC/Makefile
new file mode 100644
index 0000000..89ef72e
--- /dev/null
+++ b/share/i18n/esdb/EBCDIC/Makefile
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.4 2008/10/25 22:27:36 apb Exp $
+
+CODE= EBCDIC
+SED_EXP= 's/EBCDIC-x/EBCDIC-%%PART%%/'
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/EUC/EUC-CN.src b/share/i18n/esdb/EUC/EUC-CN.src
new file mode 100644
index 0000000..8eaced0
--- /dev/null
+++ b/share/i18n/esdb/EUC/EUC-CN.src
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: EUC-CN.src,v 1.1 2003/06/27 08:40:54 tshiozak Exp $
+
+NAME "EUC-CN"
+ENCODING "EUC"
+VARIABLE "1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080"
+DEFCSID "ISO646-US" 0
+DEFCSID "GB2312" 0x8080
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/EUC/EUC-JIS-2004.src b/share/i18n/esdb/EUC/EUC-JIS-2004.src
new file mode 100644
index 0000000..7ff3fe9
--- /dev/null
+++ b/share/i18n/esdb/EUC/EUC-JIS-2004.src
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# $NetBSD: EUC-JIS-2004.src,v 1.1 2007/03/05 16:58:35 tnozaki Exp $
+
+NAME "EUC-JIS-2004"
+ENCODING "EUC"
+VARIABLE "1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080"
+DEFCSID "ISO646-US" 0
+DEFCSID "JISX0213-1" 0x8080
+DEFCSID "JISX0201-KANA" 0x0080
+DEFCSID "JISX0212+0213-2" 0x8000
+INVALID 0xA2AE # GETA
diff --git a/share/i18n/esdb/EUC/EUC-JP-MS.src b/share/i18n/esdb/EUC/EUC-JP-MS.src
new file mode 100644
index 0000000..2024012
--- /dev/null
+++ b/share/i18n/esdb/EUC/EUC-JP-MS.src
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# $NetBSD: EUC-JP-MS.src,v 1.1 2003/07/19 20:20:43 tshiozak Exp $
+
+NAME "EUC-JP-MS"
+ENCODING "EUC"
+VARIABLE "1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080"
+DEFCSID "ISO646-US" 0
+DEFCSID "JISX0208:EUCMSSET" 0x8080
+DEFCSID "JISX0201-KANA" 0x0080
+DEFCSID "JISX0212:EUCMSSET" 0x8000
+INVALID 0xA2AE # GETA
diff --git a/share/i18n/esdb/EUC/EUC-JP.src b/share/i18n/esdb/EUC/EUC-JP.src
new file mode 100644
index 0000000..e36cc05
--- /dev/null
+++ b/share/i18n/esdb/EUC/EUC-JP.src
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# $NetBSD: EUC-JP.src,v 1.2 2003/07/16 06:57:35 tshiozak Exp $
+
+NAME "EUC-JP"
+ENCODING "EUC"
+VARIABLE "1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080"
+DEFCSID "ISO646-US" 0
+DEFCSID "JISX0208:EUC" 0x8080
+DEFCSID "JISX0201-KANA" 0x0080
+DEFCSID "JISX0212" 0x8000
+INVALID 0xA2AE # GETA
diff --git a/share/i18n/esdb/EUC/EUC-KR.src b/share/i18n/esdb/EUC/EUC-KR.src
new file mode 100644
index 0000000..0feeba0
--- /dev/null
+++ b/share/i18n/esdb/EUC/EUC-KR.src
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: EUC-KR.src,v 1.1 2003/06/27 08:40:54 tshiozak Exp $
+
+NAME "EUC-KR"
+ENCODING "EUC"
+VARIABLE "1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080"
+DEFCSID "ISO646-US" 0
+DEFCSID "KSC5601" 0x8080
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/EUC/EUC-TW.src b/share/i18n/esdb/EUC/EUC-TW.src
new file mode 100644
index 0000000..50ae513
--- /dev/null
+++ b/share/i18n/esdb/EUC/EUC-TW.src
@@ -0,0 +1,15 @@
+# $FreeBSD$
+# $NetBSD: EUC-TW.src,v 1.4 2007/03/05 16:58:35 tnozaki Exp $
+
+NAME "EUC-TW"
+ENCODING "EUCTW"
+VARIABLE ""
+DEFCSID "ISO646-US" 0
+DEFCSID "CNS11643-1" 0x47
+DEFCSID "CNS11643-2" 0x48
+DEFCSID "CNS11643-3" 0x49
+DEFCSID "CNS11643-4" 0x4A
+DEFCSID "CNS11643-5" 0x4B
+DEFCSID "CNS11643-6" 0x4C
+DEFCSID "CNS11643-7" 0x4D
+INVALID 0x3F
diff --git a/share/i18n/esdb/EUC/EUC.alias b/share/i18n/esdb/EUC/EUC.alias
new file mode 100644
index 0000000..626491e
--- /dev/null
+++ b/share/i18n/esdb/EUC/EUC.alias
@@ -0,0 +1,32 @@
+# $FreeBSD$
+# $NetBSD: EUC.alias,v 1.3 2007/03/05 16:58:35 tnozaki Exp $
+
+CN cn-gb
+CN csgb3212
+CN euccn
+CN gb2312
+
+JIS-2004 euc-jisx0213
+
+JP cseucpkdfmtjapanese
+JP eucjp
+JP ibm-eucjp
+#JP extended_unix_code_packed_format_for_japanese
+
+JP-MS eucjp-ms
+JP-MS eucjp-open
+JP-MS eucjp-win
+JP-MS eucjpms
+
+KR cseuckr
+KR csksc56011987
+KR euckr
+KR iso-ir-149
+KR korean
+KR ks_c_5601-1987
+KR ks_c_5601-1989
+KR ksc_5601
+
+TW cns11643
+TW cseuctw
+TW euctw
diff --git a/share/i18n/esdb/EUC/EUC.part b/share/i18n/esdb/EUC/EUC.part
new file mode 100644
index 0000000..c0ff3b7
--- /dev/null
+++ b/share/i18n/esdb/EUC/EUC.part
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: EUC.part,v 1.3 2007/03/05 16:58:35 tnozaki Exp $
+
+CN
+JP
+JP-MS
+JIS-2004
+KR
+TW
diff --git a/share/i18n/esdb/EUC/Makefile b/share/i18n/esdb/EUC/Makefile
new file mode 100644
index 0000000..73aac76
--- /dev/null
+++ b/share/i18n/esdb/EUC/Makefile
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.1 2003/06/27 08:40:55 tshiozak Exp $
+
+CODE= EUC
+NO_PREPROC= yes
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/GB/GB.alias b/share/i18n/esdb/GB/GB.alias
new file mode 100644
index 0000000..651329c
--- /dev/null
+++ b/share/i18n/esdb/GB/GB.alias
@@ -0,0 +1,2 @@
+# $FreeBSD$
+# $NetBSD: GB.alias,v 1.1 2006/11/23 03:25:24 tnozaki Exp $
diff --git a/share/i18n/esdb/GB/GB.part b/share/i18n/esdb/GB/GB.part
new file mode 100644
index 0000000..385b2b7
--- /dev/null
+++ b/share/i18n/esdb/GB/GB.part
@@ -0,0 +1,6 @@
+# $FreeBSD$
+# $NetBSD: GB.part,v 1.1 2006/11/23 03:25:24 tnozaki Exp $
+
+12345
+18030
+K
diff --git a/share/i18n/esdb/GB/GB12345.src b/share/i18n/esdb/GB/GB12345.src
new file mode 100644
index 0000000..bfb411a
--- /dev/null
+++ b/share/i18n/esdb/GB/GB12345.src
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: GB12345.src,v 1.1 2006/11/23 03:25:24 tnozaki Exp $
+
+NAME "GB12345"
+ENCODING "EUC"
+VARIABLE "1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080"
+DEFCSID "ISO646-US" 0
+DEFCSID "GB12345" 0x8080
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/GB/GB18030.src b/share/i18n/esdb/GB/GB18030.src
new file mode 100644
index 0000000..0e7bed1
--- /dev/null
+++ b/share/i18n/esdb/GB/GB18030.src
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# $NetBSD: GB18030.src,v 1.1 2006/11/23 03:25:25 tnozaki Exp $
+
+NAME "GB18030"
+ENCODING "GBK2K"
+VARIABLE "4byte"
+DEFCSID "ISO646-US" 0
+DEFCSID "GBKUCS" 3
+DEFCSID "GBK:GB18030" 2
+DEFCSID "GB2312:GB18030" 1
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/GB/GBK.src b/share/i18n/esdb/GB/GBK.src
new file mode 100644
index 0000000..6d38564
--- /dev/null
+++ b/share/i18n/esdb/GB/GBK.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: GBK.src,v 1.1 2006/11/23 03:25:25 tnozaki Exp $
+
+NAME "GBK"
+ENCODING "GBK2K"
+VARIABLE "2byte"
+DEFCSID "ISO646-US" 0
+DEFCSID "GB2312:GBK" 1
+DEFCSID "GBK" 2
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/GB/Makefile b/share/i18n/esdb/GB/Makefile
new file mode 100644
index 0000000..a5e3f95
--- /dev/null
+++ b/share/i18n/esdb/GB/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.1 2006/11/23 03:25:25 tnozaki Exp $
+
+CODE= GB
+NO_PREPROC= yes
+NO_SEP= yes
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/GEORGIAN/GEORGIAN.alias b/share/i18n/esdb/GEORGIAN/GEORGIAN.alias
new file mode 100644
index 0000000..d1dc7b8
--- /dev/null
+++ b/share/i18n/esdb/GEORGIAN/GEORGIAN.alias
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: GEORGIAN.alias,v 1.2 2006/11/04 06:17:35 tnozaki Exp $
+
+ACADEMY geo8-bpg
+ACADEMY georgian-ilia
+ACADEMY georgian-rs
+
+PS geo8-gov
+PS geo8std
+PS georgian-std
diff --git a/share/i18n/esdb/GEORGIAN/GEORGIAN.part b/share/i18n/esdb/GEORGIAN/GEORGIAN.part
new file mode 100644
index 0000000..2e12c2d
--- /dev/null
+++ b/share/i18n/esdb/GEORGIAN/GEORGIAN.part
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: GEORGIAN.part,v 1.1 2006/06/15 15:34:20 tnozaki Exp $
+
+ACADEMY
+ACADEMY-OldCapital
+PS
+PS-OldCapital
diff --git a/share/i18n/esdb/GEORGIAN/GEORGIAN.src b/share/i18n/esdb/GEORGIAN/GEORGIAN.src
new file mode 100644
index 0000000..48e757e
--- /dev/null
+++ b/share/i18n/esdb/GEORGIAN/GEORGIAN.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: GEORGIAN.src,v 1.1 2006/06/15 15:34:20 tnozaki Exp $
+
+NAME "GEORGIANx"
+ENCODING "NONE"
+DEFCSID "GEORGIANy" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/GEORGIAN/Makefile b/share/i18n/esdb/GEORGIAN/Makefile
new file mode 100644
index 0000000..1510e43
--- /dev/null
+++ b/share/i18n/esdb/GEORGIAN/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.2 2008/10/25 22:27:36 apb Exp $
+
+CODE= GEORGIAN
+SED_EXP= -e 's/GEORGIANx/GEORGIAN-%%PART%%/' \
+ -e "s/GEORGIANy/GEORGIAN-$$(echo %%PART%% | sed 's|-|:|')/"
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/ISO-2022/ISO-2022-CN-EXT.src b/share/i18n/esdb/ISO-2022/ISO-2022-CN-EXT.src
new file mode 100644
index 0000000..73649ea
--- /dev/null
+++ b/share/i18n/esdb/ISO-2022/ISO-2022-CN-EXT.src
@@ -0,0 +1,22 @@
+# $FreeBSD$
+# $NetBSD: ISO-2022-CN-EXT.src,v 1.1 2006/10/26 15:06:18 tnozaki Exp $
+
+NAME "ISO-2022-CN-EXT"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94B 1=94$A 1=94$E 1=94$G 2=94$H 3=94$I 3=94$J 3=94$K 3=94$L 3=94$M SI SO SS2 SS3"
+DEFCSID "ISO646-US" 0
+DEFCSID "GB2312" 0x41007F00
+DEFCSID "ISO-IR-165" 0x45007F00
+#DEFCSID "GB12345" N/A
+#DEFCSID "GB7589" N/A
+#DEFCSID "GB7590" N/A
+#DEFCSID "GB13131" N/A
+#DEFCSID "GB13132" N/A
+DEFCSID "CNS11643-1" 0x47007F00
+DEFCSID "CNS11643-2" 0x48007F00
+DEFCSID "CNS11643-3" 0x49007F00
+DEFCSID "CNS11643-4" 0x4A007F00
+DEFCSID "CNS11643-5" 0x4B007F00
+DEFCSID "CNS11643-6" 0x4C007F00
+DEFCSID "CNS11643-7" 0x4D007F00
+INVALID 0x3F
diff --git a/share/i18n/esdb/ISO-2022/ISO-2022-CN.src b/share/i18n/esdb/ISO-2022/ISO-2022-CN.src
new file mode 100644
index 0000000..e7eff67
--- /dev/null
+++ b/share/i18n/esdb/ISO-2022/ISO-2022-CN.src
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# $NetBSD: ISO-2022-CN.src,v 1.2 2006/03/17 16:37:10 tnozaki Exp $
+
+NAME "ISO-2022-CN"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94B 1=94$A 1=94$G 2=94$H SI SO SS2"
+DEFCSID "ISO646-US" 0
+DEFCSID "GB2312" 0x41007F00
+DEFCSID "CNS11643-1" 0x47007F00
+DEFCSID "CNS11643-2" 0x48007F00
+INVALID 0x3F
diff --git a/share/i18n/esdb/ISO-2022/ISO-2022-JP-1.src b/share/i18n/esdb/ISO-2022/ISO-2022-JP-1.src
new file mode 100644
index 0000000..0da5d2f
--- /dev/null
+++ b/share/i18n/esdb/ISO-2022/ISO-2022-JP-1.src
@@ -0,0 +1,12 @@
+# $FreeBSD$
+# $NetBSD: ISO-2022-JP-1.src,v 1.2 2006/12/03 12:02:05 tnozaki Exp $
+
+NAME "ISO-2022-JP-1"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94B 0=94B 0=94$@ 0=94$B 0=94$D"
+DEFCSID "ISO646-US" 0
+DEFCSID "ISO646-JP" 0x4A000000
+DEFCSID "JISX0208:1990" 0x42007F00
+DEFCSID "JISX0212" 0x44007F00
+DEFCSID "JISX0208:1978" 0x40007F00
+INVALID 0x4200222E # GETA
diff --git a/share/i18n/esdb/ISO-2022/ISO-2022-JP-2.src b/share/i18n/esdb/ISO-2022/ISO-2022-JP-2.src
new file mode 100644
index 0000000..c86dff9
--- /dev/null
+++ b/share/i18n/esdb/ISO-2022/ISO-2022-JP-2.src
@@ -0,0 +1,14 @@
+# $FreeBSD$
+# $NetBSD: ISO-2022-JP-2.src,v 1.3 2006/12/03 12:02:05 tnozaki Exp $
+
+NAME "ISO-2022-JP-2"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94B"
+DEFCSID "ISO646-US" 0
+DEFCSID "ISO646-JP" 0x4A000000
+DEFCSID "JISX0208:1990" 0x42007F00
+DEFCSID "JISX0212" 0x44007F00
+DEFCSID "JISX0208:1978" 0x40007F00
+DEFCSID "KSC5601" 0x43007F00
+DEFCSID "GB2312" 0x41007F00
+INVALID 0x4200222E # GETA
diff --git a/share/i18n/esdb/ISO-2022/ISO-2022-JP-2004.src b/share/i18n/esdb/ISO-2022/ISO-2022-JP-2004.src
new file mode 100644
index 0000000..bce47fd
--- /dev/null
+++ b/share/i18n/esdb/ISO-2022/ISO-2022-JP-2004.src
@@ -0,0 +1,12 @@
+# $FreeBSD$
+# $NetBSD: ISO-2022-JP-2004.src,v 1.1 2007/03/05 16:58:35 tnozaki Exp $
+
+NAME "ISO-2022-JP-2004"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94B 0=94 0=94$"
+DEFCSID "ISO646-US" 0
+DEFCSID "ISO646-JP" 0x4A000000
+DEFCSID "JISX0213-1" 0x4F007F00
+DEFCSID "JISX0213-2" 0x50007F00
+DEFCSID "JISX0208:1990" 0x42007F00
+INVALID 0x4F00222E # GETA
diff --git a/share/i18n/esdb/ISO-2022/ISO-2022-JP.src b/share/i18n/esdb/ISO-2022/ISO-2022-JP.src
new file mode 100644
index 0000000..956fecc
--- /dev/null
+++ b/share/i18n/esdb/ISO-2022/ISO-2022-JP.src
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# $NetBSD: ISO-2022-JP.src,v 1.2 2003/07/16 06:57:35 tshiozak Exp $
+
+NAME "ISO-2022-JP"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94B"
+DEFCSID "ISO646-US" 0
+DEFCSID "ISO646-JP" 0x4A000000
+DEFCSID "JISX0208:1990" 0x42007F00
+DEFCSID "JISX0208:1978" 0x40007F00
+INVALID 0x4200222E # GETA
diff --git a/share/i18n/esdb/ISO-2022/ISO-2022-KR.src b/share/i18n/esdb/ISO-2022/ISO-2022-KR.src
new file mode 100644
index 0000000..a82765b
--- /dev/null
+++ b/share/i18n/esdb/ISO-2022/ISO-2022-KR.src
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: ISO-2022-KR.src,v 1.2 2006/03/17 16:37:10 tnozaki Exp $
+
+NAME "ISO-2022-KR"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94B 1=94$C SI SO"
+DEFCSID "ISO646-US" 0
+DEFCSID "KSC5601" 0x43007F00
+INVALID 0x3F
diff --git a/share/i18n/esdb/ISO-2022/ISO-2022.alias b/share/i18n/esdb/ISO-2022/ISO-2022.alias
new file mode 100644
index 0000000..39e5112
--- /dev/null
+++ b/share/i18n/esdb/ISO-2022/ISO-2022.alias
@@ -0,0 +1,22 @@
+# $FreeBSD$
+# $NetBSD: ISO-2022.alias,v 1.6 2007/03/05 16:58:35 tnozaki Exp $
+
+CN csiso2022cn
+CN iso2022-cn
+
+CN-EXT iso2022-cnext
+
+JP csiso2022jp
+JP iso2022-jp
+
+JP-1 iso2022-jp1
+
+JP-2 csiso2022jp2
+JP-2 iso2022-jp2
+
+JP-2004 iso-2022-jp-3
+JP-2004 iso2022-jp3
+JP-2004 iso2022-jp2004
+
+KR csiso2022kr
+KR iso2022-kr
diff --git a/share/i18n/esdb/ISO-2022/ISO-2022.part b/share/i18n/esdb/ISO-2022/ISO-2022.part
new file mode 100644
index 0000000..c3a46c9
--- /dev/null
+++ b/share/i18n/esdb/ISO-2022/ISO-2022.part
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: ISO-2022.part,v 1.7 2007/03/05 16:58:35 tnozaki Exp $
+
+CN
+CN-EXT
+JP
+JP-1
+JP-2
+JP-2004
+KR
diff --git a/share/i18n/esdb/ISO-2022/Makefile b/share/i18n/esdb/ISO-2022/Makefile
new file mode 100644
index 0000000..777d11f
--- /dev/null
+++ b/share/i18n/esdb/ISO-2022/Makefile
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.1 2003/06/27 08:40:55 tshiozak Exp $
+
+CODE= ISO-2022
+NO_PREPROC= yes
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/ISO-8859/ISO-8859.alias b/share/i18n/esdb/ISO-8859/ISO-8859.alias
new file mode 100644
index 0000000..3615183
--- /dev/null
+++ b/share/i18n/esdb/ISO-8859/ISO-8859.alias
@@ -0,0 +1,143 @@
+# $FreeBSD$
+# $NetBSD: ISO-8859.alias,v 1.3 2006/12/13 15:46:34 tnozaki Exp $
+
+1 cp819
+1 csisolatin1
+1 ibm819
+1 iso_8859-1
+1 iso_8859-1:1987
+1 iso-ir-100
+1 iso8859-1
+1 l1
+1 latin1
+
+2 cp912
+2 csisolatin2
+2 ibm912
+2 iso_8859-2
+2 iso_8859-2:1987
+2 iso-ir-101
+2 iso8859-2
+2 l2
+2 latin2
+
+3 cp913
+3 csisolatin3
+3 ibm913
+3 iso_8859-3
+3 iso_8859-3:1988
+3 iso-ir-109
+3 iso8859-3
+3 l3
+3 latin3
+
+4 cp914
+4 csisolatin4
+4 ibm914
+4 iso_8859-4
+4 iso_8859-4:1988
+4 iso-ir-110
+4 iso8859-4
+4 l4
+4 latin4
+
+5 cp915
+5 csisolatincyrillic
+5 cyrillic
+5 ibm915
+5 iso_8859-5
+5 iso_8859-5:1988
+5 iso8859-5
+5 iso-ir-144
+
+6 cp1089
+6 csisolatinarabic
+6 arabic
+6 asmo-708
+6 ecma-114
+6 ibm1089
+6 iso_8859-6
+6 iso_8859-6:1987
+6 iso8859-6
+6 iso-ir-127
+
+7 cp813
+7 csisolatingreek
+7 ecma-118
+7 elot_928
+7 greek
+7 greek8
+7 ibm813
+7 iso_8859-7
+7 iso_8859-7:1987
+7 iso_8859-7:2003
+7 iso8859-7
+7 iso-ir-126
+
+8 cp916
+8 csisolatinhebrew
+8 hebrew
+8 ibm916
+8 iso_8859-8
+8 iso_8859-8:1988
+8 iso8859-8
+8 iso-ir-138
+
+9 cp920
+9 csisolatin5
+9 ibm920
+9 iso_8859-9
+9 iso_8859-9:1989
+9 iso-ir-148
+9 iso8859-9
+9 l5
+9 latin5
+
+10 csisolatin6
+10 iso_8859-10
+10 iso_8859-10:1992
+10 iso-ir-157
+10 iso8859-10
+10 l6
+10 latin6
+
+11 iso_8859-11
+11 iso-ir-166
+11 iso8859-11
+11 tis.2533-1
+11 tis-620
+11 tis620
+11 tis620.2529-1
+11 tis620.2533-0
+11 tis620-0
+
+13 iso_8859-13
+13 iso_8859-13:1998
+13 iso-ir-179
+13 iso8859-13
+13 l7
+13 latin7
+
+14 iso-celtic
+14 iso_8859-14
+14 iso_8859-14:1998
+14 iso-ir-199
+14 iso8859-14
+14 l8
+14 latin8
+
+15 cp923
+15 ibm923
+15 iso_8859-15
+15 iso_8859-15:1998
+15 iso-ir-203
+15 iso8859-15
+15 l9
+15 latin9
+
+16 iso_8859-16
+16 iso_8859-16:2001
+16 iso-ir-226
+16 iso8859-16
+16 l10
+16 latin10
diff --git a/share/i18n/esdb/ISO-8859/ISO-8859.part b/share/i18n/esdb/ISO-8859/ISO-8859.part
new file mode 100644
index 0000000..600dcb3
--- /dev/null
+++ b/share/i18n/esdb/ISO-8859/ISO-8859.part
@@ -0,0 +1,18 @@
+# $FreeBSD$
+# $NetBSD: ISO-8859.part,v 1.1 2003/06/27 08:40:56 tshiozak Exp $
+
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+13
+14
+15
+16
diff --git a/share/i18n/esdb/ISO-8859/ISO-8859.src b/share/i18n/esdb/ISO-8859/ISO-8859.src
new file mode 100644
index 0000000..102ff1c
--- /dev/null
+++ b/share/i18n/esdb/ISO-8859/ISO-8859.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: ISO-8859.src,v 1.1 2003/06/27 08:40:56 tshiozak Exp $
+
+NAME "ISO-8859-x"
+ENCODING "NONE"
+DEFCSID "ISO-8859-x" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/ISO-8859/Makefile b/share/i18n/esdb/ISO-8859/Makefile
new file mode 100644
index 0000000..b1544ba
--- /dev/null
+++ b/share/i18n/esdb/ISO-8859/Makefile
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.4 2008/10/25 22:27:36 apb Exp $
+
+CODE= ISO-8859
+SED_EXP= 's/ISO-8859-x/ISO-8859-%%PART%%/'
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/ISO646/ISO646.alias b/share/i18n/esdb/ISO646/ISO646.alias
new file mode 100644
index 0000000..3ba2592
--- /dev/null
+++ b/share/i18n/esdb/ISO646/ISO646.alias
@@ -0,0 +1,108 @@
+# $FreeBSD$
+# $NetBSD: ISO646.alias,v 1.2 2006/07/05 15:31:50 tnozaki Exp $
+
+BASIC:1983 iso_646.basic:1983 ref
+BASIC:1983 ref
+
+CA ca
+CA csa_z243.4-1985-1
+CA csa7-1
+CA iso-ir-121
+
+CA2 csa_z243.4-1985-2
+CA2 csa7-2
+CA2 iso-ir-122
+
+CN cn
+CN csiso57gb1988
+CN gb_1988-80
+CN iso-ir-57
+
+CU cuba
+CU iso-ir-151
+CU nc_nc00-10:81
+
+DE de
+DE din_66003
+DE iso-ir-21
+
+DK dk
+DK ds_2089
+DK ds2089
+
+ES es
+ES iso-ir-17
+
+ES2 es2
+ES2 iso-ir-85
+
+FR fr
+FR iso-ir-69
+FR nf_z_62-010
+
+FR1 iso-ir-25
+FR1 nf_z_62-010_(1973)
+
+GB bs_4730
+GB iso-ir-4
+
+HU hu
+HU iso-ir-86
+HU msz_7795.3
+
+IRV:1983 irv
+IRV:1983 iso-ir-2
+
+IT iso-ir-15
+IT it
+
+JP csiso14jisc6220ro
+JP iso-ir-14
+JP jis_c6220-1969-ro
+JP jp
+
+JP-OCR-B iso-ir-92
+JP-OCR-B jis_c6229-1984-b
+JP-OCR-B jp-ocr-b
+
+KR ksc5636
+
+NO iso-ir-60
+NO no
+NO ns_4551-1
+
+NO2 iso-ir-61
+NO2 no2
+NO2 ns_4551-2
+
+PT iso-ir-16
+PT pt
+
+PT2 iso-ir-84
+PT2 pt2
+
+SE fi
+SE iso-ir-10
+SE iso646-fi
+SE se
+SE sen_850200_b
+
+SE2 iso-ir-11
+SE2 se2
+SE2 sen_850200_c
+
+US csascii
+US 646
+US ansi_x3.4-1968
+US ansi_x3.4-1986
+US ascii
+US cp367
+US ibm367
+US iso-ir-6
+US iso_646.irv:1991
+US us
+US us-ascii
+
+YU iso-ir-141
+YU jus_i.b1.002
+YU js
diff --git a/share/i18n/esdb/ISO646/ISO646.part b/share/i18n/esdb/ISO646/ISO646.part
new file mode 100644
index 0000000..5c4ee23
--- /dev/null
+++ b/share/i18n/esdb/ISO646/ISO646.part
@@ -0,0 +1,29 @@
+# $FreeBSD$
+# $NetBSD: ISO646.part,v 1.1 2003/06/27 08:40:57 tshiozak Exp $
+
+BASIC:1983
+IRV:1983
+GB
+US
+SE
+SE2
+JP
+IT
+PT
+ES
+DE
+FR1
+CN
+NO
+NO2
+FR
+PT2
+ES2
+HU
+JP-OCR-B
+CA
+CA2
+YU
+CU
+DK
+KR
diff --git a/share/i18n/esdb/ISO646/ISO646.src b/share/i18n/esdb/ISO646/ISO646.src
new file mode 100644
index 0000000..a7f17c1
--- /dev/null
+++ b/share/i18n/esdb/ISO646/ISO646.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: ISO646.src,v 1.1 2003/06/27 08:40:57 tshiozak Exp $
+
+NAME "ISO646-x"
+ENCODING "NONE"
+DEFCSID "ISO646-x" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/ISO646/Makefile b/share/i18n/esdb/ISO646/Makefile
new file mode 100644
index 0000000..b7f5610
--- /dev/null
+++ b/share/i18n/esdb/ISO646/Makefile
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.4 2008/10/25 22:27:36 apb Exp $
+
+CODE= ISO646
+SED_EXP= 's/ISO646-x/ISO646-%%PART%%/'
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/KAZAKH/KAZAKH.alias b/share/i18n/esdb/KAZAKH/KAZAKH.alias
new file mode 100644
index 0000000..6c4c6ef
--- /dev/null
+++ b/share/i18n/esdb/KAZAKH/KAZAKH.alias
@@ -0,0 +1,14 @@
+# $FreeBSD$
+# $NetBSD: esdb.alias.KAZAKH.src,v 1.1 2007/03/13 16:34:39 tnozaki Exp $
+
+KZ1048 cskz1048
+KZ1048 kz-1048
+KZ1048 strk1048-2022
+KZ1048 rk1048
+
+PTCP154 csptcp154
+PTCP154 pt154
+PTCP154 cp154
+PTCP154 cyrillic-asian
+PTCP154 pt-154
+PTCP154 paratype-154
diff --git a/share/i18n/esdb/KAZAKH/KAZAKH.part b/share/i18n/esdb/KAZAKH/KAZAKH.part
new file mode 100644
index 0000000..67611fe
--- /dev/null
+++ b/share/i18n/esdb/KAZAKH/KAZAKH.part
@@ -0,0 +1,5 @@
+# $FreeBSD$
+# $NetBSD: esdb.dir.KAZAKH.src,v 1.1 2007/03/13 16:34:39 tnozaki Exp $
+
+KZ1048
+PTCP154
diff --git a/share/i18n/esdb/KAZAKH/KZ1048.src b/share/i18n/esdb/KAZAKH/KZ1048.src
new file mode 100644
index 0000000..8d4b0b5
--- /dev/null
+++ b/share/i18n/esdb/KAZAKH/KZ1048.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: KZ1048.src,v 1.1 2007/03/13 16:34:39 tnozaki Exp $
+
+NAME "KZ1048"
+ENCODING "NONE"
+VARIABLE "none"
+DEFCSID "KZ1048" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/KAZAKH/Makefile b/share/i18n/esdb/KAZAKH/Makefile
new file mode 100644
index 0000000..283476e
--- /dev/null
+++ b/share/i18n/esdb/KAZAKH/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.2 2008/10/25 22:35:36 apb Exp $
+
+CODE= KAZAKH
+NO_PREPROC= yes
+NO_EPREFIX= yes
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/KAZAKH/PTCP154.src b/share/i18n/esdb/KAZAKH/PTCP154.src
new file mode 100644
index 0000000..152e7d3
--- /dev/null
+++ b/share/i18n/esdb/KAZAKH/PTCP154.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: PTCP154.src,v 1.1 2007/03/13 16:34:39 tnozaki Exp $
+
+NAME "PTCP154"
+ENCODING "NONE"
+VARIABLE "none"
+DEFCSID "PTCP154" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/KOI/KOI.alias b/share/i18n/esdb/KOI/KOI.alias
new file mode 100644
index 0000000..9c89de9
--- /dev/null
+++ b/share/i18n/esdb/KOI/KOI.alias
@@ -0,0 +1,13 @@
+# $FreeBSD$
+# $NetBSD: KOI.alias,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
+
+7 iso-5427
+7 iso_5427
+7 iso-ir-37
+7 koi-7
+
+8 cp878
+8 koi-8
+
+8-E ecma-cyrillic
+8-E iso-ir-111
diff --git a/share/i18n/esdb/KOI/KOI.part b/share/i18n/esdb/KOI/KOI.part
new file mode 100644
index 0000000..eef4711
--- /dev/null
+++ b/share/i18n/esdb/KOI/KOI.part
@@ -0,0 +1,12 @@
+# $FreeBSD$
+# $NetBSD: KOI.part,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
+
+7
+7-switched
+8
+8-C
+8-E
+8-R
+8-RU
+8-T
+8-U
diff --git a/share/i18n/esdb/KOI/KOI.src b/share/i18n/esdb/KOI/KOI.src
new file mode 100644
index 0000000..6144ac1
--- /dev/null
+++ b/share/i18n/esdb/KOI/KOI.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: KOI.src,v 1.2 2006/09/16 08:38:20 tnozaki Exp $
+
+NAME "KOIx"
+ENCODING "NONE"
+DEFCSID "KOIx" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/KOI/KOI7-switched.src b/share/i18n/esdb/KOI/KOI7-switched.src
new file mode 100644
index 0000000..a2d8d40
--- /dev/null
+++ b/share/i18n/esdb/KOI/KOI7-switched.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: KOI7-switched.src,v 1.3 2006/09/16 08:38:20 tnozaki Exp $
+
+NAME "KOI7-switched"
+ENCODING "ISO2022"
+VARIABLE "INIT0=94@ 1=94N SO SI"
+DEFCSID "ISO646-IRV:1983" 0x40000000
+DEFCSID "ISO-5427" 0x4E000000
+DEFCSID "ISO646-US" 0
+INVALID 0x4000003F
diff --git a/share/i18n/esdb/KOI/KOI7.src b/share/i18n/esdb/KOI/KOI7.src
new file mode 100644
index 0000000..b597924
--- /dev/null
+++ b/share/i18n/esdb/KOI/KOI7.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: KOI7.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
+
+NAME "KOI7"
+ENCODING "NONE"
+VARIABLE ""
+DEFCSID "KOI7" 0
+INVALID 0x3F # ?
diff --git a/share/i18n/esdb/KOI/Makefile b/share/i18n/esdb/KOI/Makefile
new file mode 100644
index 0000000..eed695f
--- /dev/null
+++ b/share/i18n/esdb/KOI/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.2 2008/10/25 22:27:36 apb Exp $
+
+CODE= KOI
+SED_EXP= 's/KOIx/KOI%%PART%%/'
+NO_SEP= yes
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/MISC/ATARIST.src b/share/i18n/esdb/MISC/ATARIST.src
new file mode 100644
index 0000000..2615fe9
--- /dev/null
+++ b/share/i18n/esdb/MISC/ATARIST.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: ATARIST.src,v 1.1 2006/10/19 14:45:02 tnozaki Exp $
+
+NAME "ATARIST"
+ENCODING "NONE"
+VARIABLE "none"
+DEFCSID "ATARIST" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/C99.src b/share/i18n/esdb/MISC/C99.src
new file mode 100644
index 0000000..aee1ec0
--- /dev/null
+++ b/share/i18n/esdb/MISC/C99.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: C99.src,v 1.1 2006/11/13 15:16:30 tnozaki Exp $
+
+NAME "C99"
+ENCODING "UES"
+VARIABLE "C99"
+DEFCSID "UCS" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/CTEXT.src b/share/i18n/esdb/MISC/CTEXT.src
new file mode 100644
index 0000000..22a4a3f
--- /dev/null
+++ b/share/i18n/esdb/MISC/CTEXT.src
@@ -0,0 +1,16 @@
+# $FreeBSD$
+# $NetBSD: CTEXT.src,v 1.1 2003/07/16 08:25:17 itojun Exp $
+
+NAME "CTEXT"
+ENCODING "ISO2022"
+VARIABLE "8BIT MAX1 INIT0=94B INIT1=96A 0=94 1=96 1=94I 0=94$ 1=96$ NOOLD"
+DEFCSID "ISO646-US" 0
+DEFCSID "ISO-8859-1:GR" 0x00000080
+DEFCSID "ISO646-JP" 0x4A000000
+DEFCSID "JISX0201-KANA" 0x49000000
+#DEFCSID "JISX0208:1978" 0x40007F00
+DEFCSID "GB2312" 0x41007F00
+DEFCSID "JISX0208:1990" 0x42007F00
+DEFCSID "KSC5601" 0x43007F00
+DEFCSID "JISX0212" 0x44007F00
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/HP-ROMAN8.src b/share/i18n/esdb/MISC/HP-ROMAN8.src
new file mode 100644
index 0000000..b3a484a
--- /dev/null
+++ b/share/i18n/esdb/MISC/HP-ROMAN8.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: HP-ROMAN8.src,v 1.1 2006/10/19 14:45:02 tnozaki Exp $
+
+NAME "HP-ROMAN8"
+ENCODING "NONE"
+VARIABLE "none"
+DEFCSID "HP-ROMAN8" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/HZ.src b/share/i18n/esdb/MISC/HZ.src
new file mode 100644
index 0000000..5824190
--- /dev/null
+++ b/share/i18n/esdb/MISC/HZ.src
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: HZ.src,v 1.1 2006/11/22 23:38:27 tnozaki Exp $
+
+NAME "HZ"
+ENCODING "HZ"
+VARIABLE "0='CH:};GL:ASCII','CH:{;GL:GB2312'"
+DEFCSID "ISO646-US" 0x0
+DEFCSID "GB2312" 0x8000
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/HZ8.src b/share/i18n/esdb/MISC/HZ8.src
new file mode 100644
index 0000000..41c9542
--- /dev/null
+++ b/share/i18n/esdb/MISC/HZ8.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: HZ8.src,v 1.1 2006/11/22 23:38:27 tnozaki Exp $
+
+NAME "HZ8"
+ENCODING "HZ"
+VARIABLE "0='CH:};GL:ASCII','CH:{;GR:GB2312'"
+DEFCSID "ISO646-US" 0x0
+DEFCSID "ISO-8859-1:GR" 0x80
+DEFCSID "GB2312" 0x8080
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/ISO-IR-165.src b/share/i18n/esdb/MISC/ISO-IR-165.src
new file mode 100644
index 0000000..028d2f5
--- /dev/null
+++ b/share/i18n/esdb/MISC/ISO-IR-165.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: ISO-2022-CN-EXT.src,v 1.1 2006/10/26 15:06:18 tnozaki Exp $
+
+NAME "ISO-IR-165"
+ENCODING "NONE"
+DEFCSID "ISO-IR-165" 1
+INVALID 0x3F
diff --git a/share/i18n/esdb/MISC/JAVA.src b/share/i18n/esdb/MISC/JAVA.src
new file mode 100644
index 0000000..e6716cf
--- /dev/null
+++ b/share/i18n/esdb/MISC/JAVA.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: JAVA.src,v 1.1 2006/11/13 15:16:30 tnozaki Exp $
+
+NAME "JAVA"
+ENCODING "UES"
+VARIABLE "JAVA"
+DEFCSID "UCS" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/JISX0201-KANA.src b/share/i18n/esdb/MISC/JISX0201-KANA.src
new file mode 100644
index 0000000..21f7f1e
--- /dev/null
+++ b/share/i18n/esdb/MISC/JISX0201-KANA.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: Shift_JIS.src,v 1.2 2003/07/16 06:57:36 tshiozak Exp $
+
+NAME "JISX0201-KANA"
+ENCODING "NONE"
+DEFCSID "JISX0201-KANA" 0
+INVALID 0x81AC # GETA
diff --git a/share/i18n/esdb/MISC/JISX0208@1990.src b/share/i18n/esdb/MISC/JISX0208@1990.src
new file mode 100644
index 0000000..31b7443
--- /dev/null
+++ b/share/i18n/esdb/MISC/JISX0208@1990.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: Shift_JIS.src,v 1.2 2003/07/16 06:57:36 tshiozak Exp $
+
+NAME "JISX0208:1990"
+ENCODING "NONE"
+DEFCSID "JISX0208:1990" 0
+INVALID 0x81AC # GETA
diff --git a/share/i18n/esdb/MISC/JOHAB.src b/share/i18n/esdb/MISC/JOHAB.src
new file mode 100644
index 0000000..8ef566c
--- /dev/null
+++ b/share/i18n/esdb/MISC/JOHAB.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: JOHAB.src,v 1.1 2006/10/18 17:54:55 tnozaki Exp $
+
+NAME "JOHAB"
+ENCODING "JOHAB"
+VARIABLE ""
+DEFCSID "ISO646-KR" 0
+DEFCSID "JOHAB" 1
+DEFCSID "KSC5601HANJA" 2
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/MISC.alias b/share/i18n/esdb/MISC/MISC.alias
new file mode 100644
index 0000000..90e2ccd
--- /dev/null
+++ b/share/i18n/esdb/MISC/MISC.alias
@@ -0,0 +1,38 @@
+# $FreeBSD$
+# $NetBSD: esdb.alias.MISC.src,v 1.16 2007/03/13 16:34:40 tnozaki Exp $
+
+ATARIST atari
+
+HP-ROMAN8 cshproman8
+HP-ROMAN8 roman8
+HP-ROMAN8 r8
+
+HZ hz-gb-2312
+HZ hz-gb2312
+
+JISX0201-KANA cshalfwidthkatakana
+JISX0201-KANA jis_x0201
+JISX0201-KANA jisx0201
+JISX0201-KANA jisx0201-1976
+JISX0201-KANA x0201
+
+JISX0208:1990 csiso87jisx0208
+JISX0208:1990 iso-ir-87
+JISX0208:1990 jis_c6226-1983
+JISX0208:1990 jis_x0208
+JISX0208:1990 jis_x0208-1983
+JISX0208:1990 jis_x0208-1990
+JISX0208:1990 jis_x0208:1990
+JISX0208:1990 jis0208
+JISX0208:1990 jisx0208-1990
+JISX0208:1990 x0208
+
+JOHAB cp1361
+
+SHIFT_JIS csshiftjis
+SHIFT_JIS ms_kanji
+SHIFT_JIS sjis
+
+SHIFT_JIS-2004 shift_jisx0213
+
+TDS565 iso-ir-230
diff --git a/share/i18n/esdb/MISC/MISC.part b/share/i18n/esdb/MISC/MISC.part
new file mode 100644
index 0000000..a58d9f2
--- /dev/null
+++ b/share/i18n/esdb/MISC/MISC.part
@@ -0,0 +1,21 @@
+# $FreeBSD$
+# $NetBSD: esdb.dir.MISC.src,v 1.18 2007/04/01 18:52:31 tnozaki Exp $
+
+ATARIST
+C99
+CTEXT
+HP-ROMAN8
+HZ
+HZ8
+ISO-IR-165
+JAVA
+JISX0201-KANA
+JISX0208:1990
+JOHAB
+MULELAO-1
+NEXTSTEP
+RISCOS-LATIN1
+Shift_JIS
+Shift_JIS-2004
+TDS565
+ZW
diff --git a/share/i18n/esdb/MISC/MULELAO-1.src b/share/i18n/esdb/MISC/MULELAO-1.src
new file mode 100644
index 0000000..e848197
--- /dev/null
+++ b/share/i18n/esdb/MISC/MULELAO-1.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: MULELAO-1.src,v 1.1 2006/11/25 10:27:23 tnozaki Exp $
+
+NAME "MULELAO-1"
+ENCODING "NONE"
+VARIABLE "none"
+DEFCSID "MULELAO-1" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/Makefile b/share/i18n/esdb/MISC/Makefile
new file mode 100644
index 0000000..bdefa59
--- /dev/null
+++ b/share/i18n/esdb/MISC/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.2 2008/10/25 22:35:36 apb Exp $
+
+CODE= MISC
+NO_PREPROC= yes
+NO_EPREFIX= yes
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/MISC/NEXTSTEP.src b/share/i18n/esdb/MISC/NEXTSTEP.src
new file mode 100644
index 0000000..4af2c05
--- /dev/null
+++ b/share/i18n/esdb/MISC/NEXTSTEP.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: NEXTSTEP.src,v 1.1 2006/10/19 14:45:02 tnozaki Exp $
+
+NAME "NEXTSTEP"
+ENCODING "NONE"
+VARIABLE "none"
+DEFCSID "NEXTSTEP" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/RISCOS-LATIN1.src b/share/i18n/esdb/MISC/RISCOS-LATIN1.src
new file mode 100644
index 0000000..be27379
--- /dev/null
+++ b/share/i18n/esdb/MISC/RISCOS-LATIN1.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: RISCOS-LATIN1.src,v 1.1 2007/04/01 18:52:31 tnozaki Exp $
+
+NAME "RISCOS-LATIN1"
+ENCODING "NONE"
+VARIABLE "none"
+DEFCSID "RISCOS-LATIN1" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/Shift_JIS-2004.src b/share/i18n/esdb/MISC/Shift_JIS-2004.src
new file mode 100644
index 0000000..d9dc346
--- /dev/null
+++ b/share/i18n/esdb/MISC/Shift_JIS-2004.src
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# $NetBSD: Shift_JIS-2004.src,v 1.1 2007/03/05 16:58:35 tnozaki Exp $
+
+NAME "Shift_JIS-2004"
+ENCODING "MSKanji"
+VARIABLE "JIS2004"
+DEFCSID "ISO646-JP" 0
+DEFCSID "JISX0201-KANA" 1
+DEFCSID "JISX0213-1" 2
+DEFCSID "JISX0213-2" 3
+INVALID 0x81AC # GETA
diff --git a/share/i18n/esdb/MISC/Shift_JIS.src b/share/i18n/esdb/MISC/Shift_JIS.src
new file mode 100644
index 0000000..d14a8b9
--- /dev/null
+++ b/share/i18n/esdb/MISC/Shift_JIS.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+# $NetBSD: Shift_JIS.src,v 1.2 2003/07/16 06:57:36 tshiozak Exp $
+
+NAME "Shift_JIS"
+ENCODING "MSKanji"
+VARIABLE "Shift_JIS"
+DEFCSID "ISO646-JP" 0
+DEFCSID "JISX0201-KANA" 1
+DEFCSID "JISX0208:1990" 2
+INVALID 0x81AC # GETA
diff --git a/share/i18n/esdb/MISC/TDS565.src b/share/i18n/esdb/MISC/TDS565.src
new file mode 100644
index 0000000..16aa76b
--- /dev/null
+++ b/share/i18n/esdb/MISC/TDS565.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: TDS565.src,v 1.1 2006/11/29 15:45:26 tnozaki Exp $
+
+NAME "TDS565"
+ENCODING "NONE"
+VARIABLE "none"
+DEFCSID "TDS565" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/MISC/ZW.src b/share/i18n/esdb/MISC/ZW.src
new file mode 100644
index 0000000..ed5e2fc
--- /dev/null
+++ b/share/i18n/esdb/MISC/ZW.src
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# $NetBSD: ZW.src,v 1.1 2006/11/22 23:38:27 tnozaki Exp $
+
+NAME "ZW"
+ENCODING "ZW"
+VARIABLE ""
+DEFCSID "ISO646-US" 0
+DEFCSID "GB2312" 1
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/Makefile b/share/i18n/esdb/Makefile
new file mode 100644
index 0000000..419ca21
--- /dev/null
+++ b/share/i18n/esdb/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+# $NetBSD: Makefile,v 1.14 2007/04/01 18:52:30 tnozaki Exp $
+
+FILESDIR= ${ESDBDIR}
+
+SUBDIR= APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 ISO-8859 \
+ ISO646 KAZAKH KOI MISC TCVN UTF
+
+FILES+= esdb.dir esdb.dir.db esdb.alias esdb.alias.db
+CLEANFILES= ${FILES}
+
+esdb.dir: ${SUBDIR}
+ touch $@
+.for i in ${SUBDIR}
+ cat ${i}/esdb.dir.${i} >>${.TARGET}
+.endfor
+esdb.dir.db: esdb.dir
+ ${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
+
+esdb.alias: ${SUBDIR}
+ touch $@
+.for i in ${SUBDIR}
+ cat ${i}/esdb.alias.${i} >>${.TARGET}
+.endfor
+esdb.alias.db: esdb.alias
+ ${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
+
+all: ${FILES}
+realall: ${FILES}
+
+.include "./Makefile.inc"
+.include <bsd.prog.mk>
diff --git a/share/i18n/esdb/Makefile.inc b/share/i18n/esdb/Makefile.inc
new file mode 100644
index 0000000..1554965
--- /dev/null
+++ b/share/i18n/esdb/Makefile.inc
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}
+
+ESDBDIR?= /usr/share/i18n/esdb
+MKESDB?= ${.OBJDIR}/../../../usr.bin/mkesdb_static/mkesdb_static
diff --git a/share/i18n/esdb/Makefile.part b/share/i18n/esdb/Makefile.part
new file mode 100644
index 0000000..cde0775
--- /dev/null
+++ b/share/i18n/esdb/Makefile.part
@@ -0,0 +1,83 @@
+# $FreeBSD$
+# $NetBSD: Makefile.part,v 1.6 2008/10/25 22:35:36 apb Exp $
+
+MKESDB?= ${.OBJDIR}/../../../../usr.bin/mkesdb_static/mkesdb_static
+
+PARTFILE?= ${.CURDIR}/${CODE}.part
+ALIASFILE?= ${.CURDIR}/${CODE}.alias
+.if !defined(NO_SEP)
+SEP?= -
+.endif
+.if exists(${PARTFILE})
+PART!= sed '/^\#/d;/^ *$$/d' ${PARTFILE}
+.endif
+.if !defined(NO_EPREFIX)
+CODESETS?= ${PART:C/^/${CODE}${SEP}/}
+EPREFIX?= ${CODE}${SEP}
+.else
+CODESETS?= ${PART}
+EPREFIX?=
+.endif
+ESUBDIR?= ${CODE}
+ESDB?= ${CODESETS:C/$/.esdb/:S/:/@/}
+
+FILES+= ${ESDB}
+FILESDIR= ${ESDBDIR}/${ESUBDIR}
+
+.SUFFIXES: .src .esdb
+
+.src.esdb:
+ ${MKESDB} -o $@ $>
+
+CLEANFILES+= ${ESDB} esdb.dir.${ESUBDIR} esdb.alias.${ESUBDIR}
+
+# ----------------------------------------------------------------------
+# esdb.dir
+#
+esdb.dir.${ESUBDIR}: ${PARTFILE}
+ echo "# ${CODE}" >${.TARGET}
+.for i in ${PART}
+ printf "%-32s%s\n" "${EPREFIX}$i" \
+ "${ESUBDIR}/${EPREFIX}${i:S/:/@/}.esdb" >>${.TARGET}
+.endfor
+ echo >>${.TARGET}
+
+# ----------------------------------------------------------------------
+# esdb.alias
+#
+.for i in ${PART:S/:/@/}
+${CODE}_$i_aliases!= echo \
+ `sed \
+ '/^\#/d;/^ *$$/d;/^${i:S/@/:/}[ ]/!d;s/^[^ ]*[ ]*//' \
+ ${ALIASFILE}`
+.endfor
+esdb.alias.${ESUBDIR}: ${PARTFILE} ${ALIASFILE}
+ echo "# ${CODE}" >${.TARGET}
+.for i in ${PART:S/:/@/}
+.for j in ${${CODE}_$i_aliases}
+ printf "%-32s%s\n" "$j" "${EPREFIX}${i:S/@/:/}" >>${.TARGET}
+.endfor
+.endfor
+ echo >>${.TARGET}
+
+all: realall
+realall: esdb.dir.${ESUBDIR} esdb.alias.${ESUBDIR} codesets
+codesets: ${ESDB}
+
+.if !defined(NO_PREPROC)
+.for i in ${PART}
+.if !exists(${EPREFIX}${i:S/:/@/}.src)
+${EPREFIX}${i:S/:/@/}.src: ${CODE}.src
+ sed ${SED_EXP:S@%%PART%%@${i}@} ${.CURDIR}/${CODE}.src > ${EPREFIX}${i:S/:/@/}.src
+ @echo ${EPREFIX}${i:S/:/@/}.src >>.tmpfiles
+.endif
+.endfor
+.endif
+
+.if exists(.tmpfiles)
+TMPFILES!= cat .tmpfiles
+CLEANFILES+= ${TMPFILES} .tmpfiles
+.endif
+
+.include "./Makefile.inc"
+.include <bsd.prog.mk>
diff --git a/share/i18n/esdb/TCVN/Makefile b/share/i18n/esdb/TCVN/Makefile
new file mode 100644
index 0000000..9817285
--- /dev/null
+++ b/share/i18n/esdb/TCVN/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.2 2008/10/25 22:35:36 apb Exp $
+
+CODE= TCVN
+NO_PREPROC= yes
+NO_EPREFIX= yes
+
+.include "../Makefile.part"
diff --git a/share/i18n/esdb/TCVN/TCVN.alias b/share/i18n/esdb/TCVN/TCVN.alias
new file mode 100644
index 0000000..eff3a27
--- /dev/null
+++ b/share/i18n/esdb/TCVN/TCVN.alias
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# $NetBSD: esdb.alias.TCVN.src,v 1.1 2006/11/13 15:16:30 tnozaki Exp $
+
+TCVN5712-1 tcvn
+TCVN5712-1 tcvn-5712
+TCVN5712-1 tcvn-5712-1:1993
+TCVN5712-1 vn-1
+
+VISCII csviscii
+VISCII viscii1.1-1
+VISCII vscii
diff --git a/share/i18n/esdb/TCVN/TCVN.part b/share/i18n/esdb/TCVN/TCVN.part
new file mode 100644
index 0000000..412a0f6
--- /dev/null
+++ b/share/i18n/esdb/TCVN/TCVN.part
@@ -0,0 +1,6 @@
+# $FreeBSD$
+# $NetBSD: esdb.dir.TCVN.src,v 1.1 2006/11/13 15:16:30 tnozaki Exp $
+
+TCVN5712-1
+VISCII
+VIQR
diff --git a/share/i18n/esdb/TCVN/TCVN5712-1.src b/share/i18n/esdb/TCVN/TCVN5712-1.src
new file mode 100644
index 0000000..a1c03f3
--- /dev/null
+++ b/share/i18n/esdb/TCVN/TCVN5712-1.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: TCVN5712-1.src,v 1.1 2006/11/13 15:16:30 tnozaki Exp $
+
+NAME "TCVN"
+ENCODING "NONE"
+VARIABLE "none"
+DEFCSID "TCVN5712-1" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/TCVN/VIQR.src b/share/i18n/esdb/TCVN/VIQR.src
new file mode 100644
index 0000000..5fc31d6
--- /dev/null
+++ b/share/i18n/esdb/TCVN/VIQR.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: VIQR.src,v 1.1 2006/11/13 15:16:30 tnozaki Exp $
+
+NAME "VIQR"
+ENCODING "VIQR"
+VARIABLE ""
+DEFCSID "VISCII" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/TCVN/VISCII.src b/share/i18n/esdb/TCVN/VISCII.src
new file mode 100644
index 0000000..5badd62
--- /dev/null
+++ b/share/i18n/esdb/TCVN/VISCII.src
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# $NetBSD: VISCII.src,v 1.1 2006/11/13 15:16:30 tnozaki Exp $
+
+NAME "VISCII"
+ENCODING "NONE"
+DEFCSID "VISCII" 0
+INVALID 0x3F # '?'
diff --git a/share/i18n/esdb/UTF/Makefile b/share/i18n/esdb/UTF/Makefile
new file mode 100644
index 0000000..92ddcdd
--- /dev/null
+++ b/share/i18n/esdb/UTF/Makefile
@@ -0,0 +1,41 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.5 2008/10/25 22:27:36 apb Exp $
+
+CODE= UTF
+NO_PREPROC= yes
+
+UTF-16-mod= UTF1632
+UTF-16-var= utf16
+UTF-16BE-mod= UTF1632
+UTF-16BE-var= utf16,big,force
+UTF-16LE-mod= UTF1632
+UTF-16LE-var= utf16,little,force
+UTF-16-INTERNAL-mod= UTF1632
+UTF-16-INTERNAL-var= utf16,internal,force
+UTF-16-SWAPPED-mod= UTF1632
+UTF-16-SWAPPED-var= utf16,swapped,force
+UTF-32-mod= UTF1632
+UTF-32-var= utf32
+UTF-32BE-mod= UTF1632
+UTF-32BE-var= utf32,big,force
+UTF-32LE-mod= UTF1632
+UTF-32LE-var= utf32,little,force
+UTF-32-INTERNAL-mod= UTF1632
+UTF-32-INTERNAL-var= utf32,internal,force
+UTF-32-SWAPPED-mod= UTF1632
+UTF-32-SWAPPED-var= utf32,swapped,force
+UTF-8-mod= UTF8
+UTF-8-var= utf8
+UTF-7-mod= UTF7
+UTF-7-var= utf7
+
+.include "../Makefile.part"
+
+.for i in ${PART}
+${EPREFIX}${i}.src: ${CODE}.src
+ sed -e 's/UTF-x/UTF-${i}/' \
+ -e 's/UTF-mod/${UTF-${i}-mod}/' \
+ -e 's/UTF-var/${UTF-${i}-var}/' \
+ ${.CURDIR}/${CODE}.src > ${EPREFIX}${i:S/:/@/}.src
+ @echo ${EPREFIX}${i:S/:/@/}.src >>.tmpfiles
+.endfor
diff --git a/share/i18n/esdb/UTF/UTF.alias b/share/i18n/esdb/UTF/UTF.alias
new file mode 100644
index 0000000..5bfafe9
--- /dev/null
+++ b/share/i18n/esdb/UTF/UTF.alias
@@ -0,0 +1,41 @@
+# $FreeBSD$
+# $NetBSD: UTF.alias,v 1.5 2007/12/17 14:06:57 joerg Exp $
+
+7 csunicode11utf7
+7 unicode-1-1-utf-7
+7 utf7
+
+8 utf8
+
+16 unicode
+16 utf16
+
+16-INTERNAL ucs-2-internal
+
+16-SWAPPED ucs-2-swapped
+
+16BE csunicode
+16BE csunicode11
+16BE iso-10646-ucs-2
+16BE ucs-2
+16BE ucs-2be
+16BE unicode-1-1
+16BE unicodebig
+16BE utf16be
+
+16LE ucs-2le
+16LE unicodelittle
+16LE utf16le
+
+32-INTERNAL ucs-4-internal
+
+32-SWAPPED ucs-4-swapped
+
+32BE csucs4
+32BE iso-10646-ucs-4
+32BE ucs-4
+32BE ucs-4be
+32BE utf32be
+
+32LE ucs-4le
+32LE utf32le
diff --git a/share/i18n/esdb/UTF/UTF.part b/share/i18n/esdb/UTF/UTF.part
new file mode 100644
index 0000000..cda8631
--- /dev/null
+++ b/share/i18n/esdb/UTF/UTF.part
@@ -0,0 +1,15 @@
+# $FreeBSD$
+# $NetBSD: UTF.part,v 1.2 2005/03/05 18:05:15 tnozaki Exp $
+
+7
+8
+16
+16BE
+16LE
+16-INTERNAL
+16-SWAPPED
+32
+32BE
+32LE
+32-INTERNAL
+32-SWAPPED
diff --git a/share/i18n/esdb/UTF/UTF.src b/share/i18n/esdb/UTF/UTF.src
new file mode 100644
index 0000000..6bf6b68
--- /dev/null
+++ b/share/i18n/esdb/UTF/UTF.src
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $NetBSD: UTF.src,v 1.1 2003/06/27 08:40:59 tshiozak Exp $
+
+NAME "UTF-x"
+ENCODING "UTF-mod"
+VARIABLE "UTF-var"
+DEFCSID "UCS" 0
+INVALID 0x3F # '?'
OpenPOWER on IntegriCloud