Generate valid config: don't use long charset names

This commit is contained in:
Stas Degteff 2011-02-13 00:57:51 +00:00
parent fb4de87383
commit d73b61dfe6
2 changed files with 200 additions and 213 deletions

View File

@ -4,9 +4,9 @@
// Generated by 'xlatcfg.pl' script written by Stas Degteff 2:5080/102@fidonet
//
XLATCHARSET CP1125 ISO8859-5 1125_i-5.chs
XLATCHARSET CP1125 ISO88595 1125_i-5.chs
XLATCHARSETALIAS ISO8859-5 ISO88595
XLATCHARSET CP1125 UTF-8 1125_u8.chs
XLATCHARSET CP1125 UTF8 1125_u8.chs
XLATCHARSETALIAS UTF-8 UTF8
XLATCHARSET CP1250 CP1250 12501250.chs
XLATCHARSET CP1250 CP1251 12501251.chs
XLATCHARSET CP1250 CP1252 12501252.chs
@ -19,13 +19,13 @@ XLATCHARSET CP1250 CP850 1250_850.chs
XLATCHARSET CP1250 CP858 1250_858.chs
XLATCHARSET CP1250 CP859 1250_859.chs
XLATCHARSET CP1250 US-ASCII 1250_asc.chs
XLATCHARSET CP1250 USASCII 1250_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP1250 ISO8859-1 1250_i-1.chs
XLATCHARSET CP1250 ISO88591 1250_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP1250 ISO8859-15 1250_i15.chs
XLATCHARSET CP1250 ISO885915 1250_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP1250 MAC-ROMAN 1250_mac.chs
XLATCHARSET CP1250 MACROMAN 1250_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP1251 CP1250 12511250.chs
XLATCHARSET CP1251 CP1251 12511251.chs
XLATCHARSET CP1251 CP1252 12511252.chs
@ -38,15 +38,15 @@ XLATCHARSET CP1251 CP850 1251_850.chs
XLATCHARSET CP1251 CP858 1251_858.chs
XLATCHARSET CP1251 CP859 1251_859.chs
XLATCHARSET CP1251 US-ASCII 1251_asc.chs
XLATCHARSET CP1251 USASCII 1251_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP1251 ISO8859-1 1251_i-1.chs
XLATCHARSET CP1251 ISO88591 1251_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP1251 ISO8859-5 1251_i-5.chs
XLATCHARSET CP1251 ISO88595 1251_i-5.chs
XLATCHARSETALIAS ISO8859-5 ISO88595
XLATCHARSET CP1251 ISO8859-15 1251_i15.chs
XLATCHARSET CP1251 ISO885915 1251_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP1251 MAC-ROMAN 1251_mac.chs
XLATCHARSET CP1251 MACROMAN 1251_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP1252 CP1250 12521250.chs
XLATCHARSET CP1252 CP1251 12521251.chs
XLATCHARSET CP1252 CP1252 12521252.chs
@ -59,13 +59,13 @@ XLATCHARSET CP1252 CP850 1252_850.chs
XLATCHARSET CP1252 CP858 1252_858.chs
XLATCHARSET CP1252 CP859 1252_859.chs
XLATCHARSET CP1252 US-ASCII 1252_asc.chs
XLATCHARSET CP1252 USASCII 1252_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP1252 ISO8859-1 1252_i-1.chs
XLATCHARSET CP1252 ISO88591 1252_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP1252 ISO8859-15 1252_i15.chs
XLATCHARSET CP1252 ISO885915 1252_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP1252 MAC-ROMAN 1252_mac.chs
XLATCHARSET CP1252 MACROMAN 1252_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP1253 CP1250 12531250.chs
XLATCHARSET CP1253 CP1251 12531251.chs
XLATCHARSET CP1253 CP1252 12531252.chs
@ -78,13 +78,13 @@ XLATCHARSET CP1253 CP850 1253_850.chs
XLATCHARSET CP1253 CP858 1253_858.chs
XLATCHARSET CP1253 CP859 1253_859.chs
XLATCHARSET CP1253 US-ASCII 1253_asc.chs
XLATCHARSET CP1253 USASCII 1253_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP1253 ISO8859-1 1253_i-1.chs
XLATCHARSET CP1253 ISO88591 1253_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP1253 ISO8859-15 1253_i15.chs
XLATCHARSET CP1253 ISO885915 1253_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP1253 MAC-ROMAN 1253_mac.chs
XLATCHARSET CP1253 MACROMAN 1253_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP1254 CP1250 12541250.chs
XLATCHARSET CP1254 CP1251 12541251.chs
XLATCHARSET CP1254 CP1252 12541252.chs
@ -97,13 +97,13 @@ XLATCHARSET CP1254 CP850 1254_850.chs
XLATCHARSET CP1254 CP858 1254_858.chs
XLATCHARSET CP1254 CP859 1254_859.chs
XLATCHARSET CP1254 US-ASCII 1254_asc.chs
XLATCHARSET CP1254 USASCII 1254_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP1254 ISO8859-1 1254_i-1.chs
XLATCHARSET CP1254 ISO88591 1254_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP1254 ISO8859-15 1254_i15.chs
XLATCHARSET CP1254 ISO885915 1254_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP1254 MAC-ROMAN 1254_mac.chs
XLATCHARSET CP1254 MACROMAN 1254_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP1257 CP1250 12571250.chs
XLATCHARSET CP1257 CP1251 12571251.chs
XLATCHARSET CP1257 CP1252 12571252.chs
@ -116,13 +116,13 @@ XLATCHARSET CP1257 CP850 1257_850.chs
XLATCHARSET CP1257 CP858 1257_858.chs
XLATCHARSET CP1257 CP859 1257_859.chs
XLATCHARSET CP1257 US-ASCII 1257_asc.chs
XLATCHARSET CP1257 USASCII 1257_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP1257 ISO8859-1 1257_i-1.chs
XLATCHARSET CP1257 ISO88591 1257_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP1257 ISO8859-15 1257_i15.chs
XLATCHARSET CP1257 ISO885915 1257_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP1257 MAC-ROMAN 1257_mac.chs
XLATCHARSET CP1257 MACROMAN 1257_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP1258 CP1250 12581250.chs
XLATCHARSET CP1258 CP1251 12581251.chs
XLATCHARSET CP1258 CP1252 12581252.chs
@ -135,13 +135,13 @@ XLATCHARSET CP1258 CP850 1258_850.chs
XLATCHARSET CP1258 CP858 1258_858.chs
XLATCHARSET CP1258 CP859 1258_859.chs
XLATCHARSET CP1258 US-ASCII 1258_asc.chs
XLATCHARSET CP1258 USASCII 1258_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP1258 ISO8859-1 1258_i-1.chs
XLATCHARSET CP1258 ISO88591 1258_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP1258 ISO8859-15 1258_i15.chs
XLATCHARSET CP1258 ISO885915 1258_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP1258 MAC-ROMAN 1258_mac.chs
XLATCHARSET CP1258 MACROMAN 1258_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP437 CP1250 437_1250.chs
XLATCHARSET CP437 CP1251 437_1251.chs
XLATCHARSET CP437 CP1252 437_1252.chs
@ -154,15 +154,15 @@ XLATCHARSET CP437 CP850 437_850.chs
XLATCHARSET CP437 CP858 437_858.chs
XLATCHARSET CP437 CP859 437_859.chs
XLATCHARSET CP437 US-ASCII 437_asc.chs
XLATCHARSET CP437 USASCII 437_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP437 ISO8859-1 437_i-1.chs
XLATCHARSET CP437 ISO88591 437_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP437 ISO8859-15 437_i15.chs
XLATCHARSET CP437 ISO885915 437_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP437 MAC-ROMAN 437_mac.chs
XLATCHARSET CP437 MACROMAN 437_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP437 UTF-8 437_u8.chs
XLATCHARSET CP437 UTF8 437_u8.chs
XLATCHARSETALIAS UTF-8 UTF8
XLATCHARSET CP850 CP1250 850_1250.chs
XLATCHARSET CP850 CP1251 850_1251.chs
XLATCHARSET CP850 CP1252 850_1252.chs
@ -176,18 +176,18 @@ XLATCHARSET CP850 CP858 850_858.chs
XLATCHARSET CP850 CP859 850_859.chs
XLATCHARSET CP850 CP866 850_866.chs
XLATCHARSET CP850 US-ASCII 850_asc.chs
XLATCHARSET CP850 USASCII 850_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP850 ISO8859-1 850_i-1.chs
XLATCHARSET CP850 ISO88591 850_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP850 ISO8859-15 850_i15.chs
XLATCHARSET CP850 ISO885915 850_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP850 LATIN1QP 850_iqp.chs
XLATCHARSET CP850 LATIN-1 850_iso.chs
XLATCHARSET CP850 LATIN1 850_iso.chs
XLATCHARSETALIAS LATIN-1 LATIN1
XLATCHARSET CP850 MAC-ROMAN 850_mac.chs
XLATCHARSET CP850 MACROMAN 850_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP850 UTF-8 850_u8.chs
XLATCHARSET CP850 UTF8 850_u8.chs
XLATCHARSETALIAS UTF-8 UTF8
XLATCHARSET CP858 CP1250 858_1250.chs
XLATCHARSET CP858 CP1251 858_1251.chs
XLATCHARSET CP858 CP1252 858_1252.chs
@ -200,13 +200,13 @@ XLATCHARSET CP858 CP850 858_850.chs
XLATCHARSET CP858 CP858 858_858.chs
XLATCHARSET CP858 CP859 858_859.chs
XLATCHARSET CP858 US-ASCII 858_asc.chs
XLATCHARSET CP858 USASCII 858_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP858 ISO8859-1 858_i-1.chs
XLATCHARSET CP858 ISO88591 858_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP858 ISO8859-15 858_i15.chs
XLATCHARSET CP858 ISO885915 858_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP858 MAC-ROMAN 858_mac.chs
XLATCHARSET CP858 MACROMAN 858_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP859 CP1250 859_1250.chs
XLATCHARSET CP859 CP1251 859_1251.chs
XLATCHARSET CP859 CP1252 859_1252.chs
@ -219,75 +219,73 @@ XLATCHARSET CP859 CP850 859_850.chs
XLATCHARSET CP859 CP858 859_858.chs
XLATCHARSET CP859 CP859 859_859.chs
XLATCHARSET CP859 US-ASCII 859_asc.chs
XLATCHARSET CP859 USASCII 859_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET CP859 ISO8859-1 859_i-1.chs
XLATCHARSET CP859 ISO88591 859_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET CP859 ISO8859-15 859_i15.chs
XLATCHARSET CP859 ISO885915 859_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET CP859 MAC-ROMAN 859_mac.chs
XLATCHARSET CP859 MACROMAN 859_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CP865 LATIN-1 865_iso.chs
XLATCHARSET CP865 LATIN1 865_iso.chs
XLATCHARSETALIAS LATIN-1 LATIN1
XLATCHARSET CP865 UTF-8 865_u8.chs
XLATCHARSET CP865 UTF8 865_u8.chs
XLATCHARSETALIAS UTF-8 UTF8
XLATCHARSET CP866 CP850 866_850.chs
XLATCHARSET CP866 CP866 866_866.chs
XLATCHARSET CP866 ISO8859-5 866_i-5.chs
XLATCHARSET CP866 ISO88595 866_i-5.chs
XLATCHARSETALIAS ISO8859-5 ISO88595
XLATCHARSET CP866 ISO8859-5 866_ISO.chs
XLATCHARSET CP866 ISO88595 866_ISO.chs
XLATCHARSETALIAS ISO8859-5 ISO88595
XLATCHARSET CP866 KOI8-R 866_koi.chs
XLATCHARSET CP866 KOI8R 866_koi.chs
XLATCHARSETALIAS KOI8-R KOI8R
XLATCHARSET CP866 KOI-7 866_koi7.chs
XLATCHARSET CP866 KOI7 866_koi7.chs
XLATCHARSETALIAS KOI-7 KOI7
XLATCHARSET CP866 KOI8-R 866_koiX.chs
XLATCHARSETALIAS KOI8-R KOI8R
XLATCHARSET CP866 KOI8-U 866_kou.chs
XLATCHARSET CP866 KOI8U 866_kou.chs
XLATCHARSETALIAS KOI8-U KOI8U
XLATCHARSET CP866 CP10007 866_mcyr.chs
XLATCHARSET CP866 UTF-8 866_u8.chs
XLATCHARSET CP866 UTF8 866_u8.chs
XLATCHARSETALIAS UTF-8 UTF8
XLATCHARSET CP866 CP1125 866_ukr.chs
XLATCHARSET CP866 CP1251 866_win.chs
XLATCHARSET US-ASCII CP1250 asc_1250.chs
XLATCHARSET USASCII CP1250 asc_1250.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII CP1251 asc_1251.chs
XLATCHARSET USASCII CP1251 asc_1251.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII CP1252 asc_1252.chs
XLATCHARSET USASCII CP1252 asc_1252.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII CP1253 asc_1253.chs
XLATCHARSET USASCII CP1253 asc_1253.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII CP1254 asc_1254.chs
XLATCHARSET USASCII CP1254 asc_1254.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII CP1257 asc_1257.chs
XLATCHARSET USASCII CP1257 asc_1257.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII CP1258 asc_1258.chs
XLATCHARSET USASCII CP1258 asc_1258.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII CP437 asc_437.chs
XLATCHARSET USASCII CP437 asc_437.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII CP850 asc_850.chs
XLATCHARSET USASCII CP850 asc_850.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII CP858 asc_858.chs
XLATCHARSET USASCII CP858 asc_858.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII CP859 asc_859.chs
XLATCHARSET USASCII CP859 asc_859.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII US-ASCII asc_asc.chs
XLATCHARSET USASCII US-ASCII asc_asc.chs
XLATCHARSET US-ASCII USASCII asc_asc.chs
XLATCHARSET USASCII USASCII asc_asc.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET US-ASCII ISO8859-1 asc_i-1.chs
XLATCHARSET USASCII ISO8859-1 asc_i-1.chs
XLATCHARSET US-ASCII ISO88591 asc_i-1.chs
XLATCHARSET USASCII ISO88591 asc_i-1.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET US-ASCII ISO8859-15 asc_i15.chs
XLATCHARSET USASCII ISO8859-15 asc_i15.chs
XLATCHARSET US-ASCII ISO885915 asc_i15.chs
XLATCHARSET USASCII ISO885915 asc_i15.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET US-ASCII MAC-ROMAN asc_mac.chs
XLATCHARSET USASCII MAC-ROMAN asc_mac.chs
XLATCHARSET US-ASCII MACROMAN asc_mac.chs
XLATCHARSET USASCII MACROMAN asc_mac.chs
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET CANADIAN ASCII can_asc.chs
XLATCHARSET CANADIAN IBMPC can_ibm.chs
XLATCHARSET DOS+KOI8R; CP866 DK1_866.chs
XLATCHARSET DOS+KOI8R CP866 DK1_866.chs
XLATCHARSET CP866+KOI8R+H CP866 DK2_866.chs
XLATCHARSET DUTCH ASCII dut_asc.chs
XLATCHARSET DUTCH IBMPC dut_ibm.chs
@ -298,198 +296,176 @@ XLATCHARSET FRENCH IBMPC frn_ibm.chs
XLATCHARSET GERMAN ASCII ger_asc.chs
XLATCHARSET GERMAN IBMPC ger_ibm.chs
XLATCHARSET ISO8859-1 CP1250 i-1_1250.chs
XLATCHARSET ISO88591 CP1250 i-1_1250.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP1251 i-1_1251.chs
XLATCHARSET ISO88591 CP1251 i-1_1251.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP1252 i-1_1252.chs
XLATCHARSET ISO88591 CP1252 i-1_1252.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP1253 i-1_1253.chs
XLATCHARSET ISO88591 CP1253 i-1_1253.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP1254 i-1_1254.chs
XLATCHARSET ISO88591 CP1254 i-1_1254.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP1257 i-1_1257.chs
XLATCHARSET ISO88591 CP1257 i-1_1257.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP1258 i-1_1258.chs
XLATCHARSET ISO88591 CP1258 i-1_1258.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP437 i-1_437.chs
XLATCHARSET ISO88591 CP437 i-1_437.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP850 i-1_850.chs
XLATCHARSET ISO88591 CP850 i-1_850.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP858 i-1_858.chs
XLATCHARSET ISO88591 CP858 i-1_858.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP859 i-1_859.chs
XLATCHARSET ISO88591 CP859 i-1_859.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 US-ASCII i-1_asc.chs
XLATCHARSET ISO88591 US-ASCII i-1_asc.chs
XLATCHARSET ISO8859-1 USASCII i-1_asc.chs
XLATCHARSET ISO88591 USASCII i-1_asc.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET ISO8859-1 ISO8859-1 i-1_i-1.chs
XLATCHARSET ISO88591 ISO8859-1 i-1_i-1.chs
XLATCHARSET ISO8859-1 ISO88591 i-1_i-1.chs
XLATCHARSET ISO88591 ISO88591 i-1_i-1.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 ISO8859-15 i-1_i15.chs
XLATCHARSET ISO88591 ISO8859-15 i-1_i15.chs
XLATCHARSET ISO8859-1 ISO885915 i-1_i15.chs
XLATCHARSET ISO88591 ISO885915 i-1_i15.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-1 MAC-ROMAN i-1_mac.chs
XLATCHARSET ISO88591 MAC-ROMAN i-1_mac.chs
XLATCHARSET ISO8859-1 MACROMAN i-1_mac.chs
XLATCHARSET ISO88591 MACROMAN i-1_mac.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET ISO8859-5 CP1125 i-5_1125.chs
XLATCHARSET ISO88595 CP1125 i-5_1125.chs
XLATCHARSETALIAS ISO8859-5 ISO88595
XLATCHARSET ISO8859-5 CP1251 i-5_1251.chs
XLATCHARSET ISO88595 CP1251 i-5_1251.chs
XLATCHARSETALIAS ISO8859-5 ISO88595
XLATCHARSET ISO8859-5 CP866 i-5_866.chs
XLATCHARSET ISO88595 CP866 i-5_866.chs
XLATCHARSETALIAS ISO8859-5 ISO88595
XLATCHARSET ISO8859-5 KOI8-R i-5_koi8r.chs
XLATCHARSET ISO88595 KOI8-R i-5_koi8r.chs
XLATCHARSET ISO8859-5 KOI8R i-5_koi8r.chs
XLATCHARSET ISO88595 KOI8R i-5_koi8r.chs
XLATCHARSETALIAS ISO8859-5 ISO88595
XLATCHARSETALIAS KOI8-R KOI8R
XLATCHARSET ISO8859-15 CP1250 i15_1250.chs
XLATCHARSET ISO885915 CP1250 i15_1250.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 CP1251 i15_1251.chs
XLATCHARSET ISO885915 CP1251 i15_1251.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 CP1252 i15_1252.chs
XLATCHARSET ISO885915 CP1252 i15_1252.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 CP1253 i15_1253.chs
XLATCHARSET ISO885915 CP1253 i15_1253.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 CP1254 i15_1254.chs
XLATCHARSET ISO885915 CP1254 i15_1254.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 CP1257 i15_1257.chs
XLATCHARSET ISO885915 CP1257 i15_1257.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 CP1258 i15_1258.chs
XLATCHARSET ISO885915 CP1258 i15_1258.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 CP437 i15_437.chs
XLATCHARSET ISO885915 CP437 i15_437.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 CP850 i15_850.chs
XLATCHARSET ISO885915 CP850 i15_850.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 CP858 i15_858.chs
XLATCHARSET ISO885915 CP858 i15_858.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 CP859 i15_859.chs
XLATCHARSET ISO885915 CP859 i15_859.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 US-ASCII i15_asc.chs
XLATCHARSET ISO885915 US-ASCII i15_asc.chs
XLATCHARSET ISO8859-15 USASCII i15_asc.chs
XLATCHARSET ISO885915 USASCII i15_asc.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET ISO8859-15 ISO8859-1 i15_i-1.chs
XLATCHARSET ISO885915 ISO8859-1 i15_i-1.chs
XLATCHARSET ISO8859-15 ISO88591 i15_i-1.chs
XLATCHARSET ISO885915 ISO88591 i15_i-1.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-15 ISO8859-15 i15_i15.chs
XLATCHARSET ISO885915 ISO8859-15 i15_i15.chs
XLATCHARSET ISO8859-15 ISO885915 i15_i15.chs
XLATCHARSET ISO885915 ISO885915 i15_i15.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET ISO8859-15 MAC-ROMAN i15_mac.chs
XLATCHARSET ISO885915 MAC-ROMAN i15_mac.chs
XLATCHARSET ISO8859-15 MACROMAN i15_mac.chs
XLATCHARSET ISO885915 MACROMAN i15_mac.chs
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET LATIN1MAC IBMPC i1m_ibm.chs
XLATCHARSET IBMPC ASCII ibm_asc.chs
XLATCHARSET IBMPC COMPOSED ibm_cmp.chs
XLATCHARSET IBMPC I51 ibm_i51.chs
XLATCHARSET IBMPC IBMPC ibm_ibm.chs
XLATCHARSET IBMPC LATIN1QP ibm_iqp.chs
XLATCHARSET IBMPC LATIN-1 ibm_iso.chs
XLATCHARSET IBMPC LATIN1 ibm_iso.chs
XLATCHARSET IBMPC MAC ibm_mac.chs
XLATCHARSET IBMPC MNEMONIC ibm_mne.chs
XLATCHARSET CP865 ISO ibm_iso.chs
XLATCHARSET CP865 MAC ibm_mac.chs
XLATCHARSET CP865 MNEMONIC ibm_mne.chs
XLATCHARSET IBMPC SWEDISH ibm_swe.chs
XLATCHARSET IBMPC VT100 ibm_vt1.chs
XLATCHARSET ISO8859-5+KOI8R CP866 IK1_866.chs
XLATCHARSET ISO88595+KOI8R CP866 IK1_866.chs
XLATCHARSET ISO8859-5+KOI8R+H CP866 IK2_866.chs
XLATCHARSET ISO88595+KOI8R+H CP866 IK2_866.chs
XLATCHARSETALIAS ISO8859-5+KOI8R ISO88595+KOI8R
XLATCHARSET ISO-5+KOI8R+H CP866 IK2_866.chs
XLATCHARSETALIAS ISO-5+KOI8R+H ISO5+KOI8R+H
XLATCHARSET LATIN1QP CP850 iqp_850.chs
XLATCHARSET LATIN1QP IBMPC iqp_ibm.chs
XLATCHARSET LATIN1QP CP865 iqp_ibm.chs
XLATCHARSET LATIN-1 UTF-8 iso1_u8.chs
XLATCHARSET LATIN1 UTF-8 iso1_u8.chs
XLATCHARSET LATIN-1 UTF8 iso1_u8.chs
XLATCHARSET LATIN1 UTF8 iso1_u8.chs
XLATCHARSET LATIN-1 CP850 iso_850.chs
XLATCHARSET LATIN1 CP850 iso_850.chs
XLATCHARSET LATIN-1 ASCII iso_asc.chs
XLATCHARSET LATIN1 ASCII iso_asc.chs
XLATCHARSET LATIN-1 IBMPC iso_ibm.chs
XLATCHARSET LATIN1 IBMPC iso_ibm.chs
XLATCHARSET LATIN-1 LATIN-1 iso_iso.chs
XLATCHARSET LATIN1 LATIN-1 iso_iso.chs
XLATCHARSET LATIN-1 LATIN1 iso_iso.chs
XLATCHARSET LATIN1 LATIN1 iso_iso.chs
XLATCHARSETALIAS LATIN-1 LATIN1
XLATCHARSETALIAS UTF-8 UTF8
XLATCHARSET ISO CP850 iso_850.chs
XLATCHARSET ISO8859-1 ASCII iso_asc.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 CP865 iso_ibm.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET ISO8859-1 ISO8859-1 iso_iso.chs
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET LATIN-1 MAC iso_mac.chs
XLATCHARSET LATIN1 MAC iso_mac.chs
XLATCHARSETALIAS LATIN-1 LATIN1
XLATCHARSET LATIN-1 VT100 iso_vt1.chs
XLATCHARSET LATIN1 VT100 iso_vt1.chs
XLATCHARSETALIAS LATIN-1 LATIN1
XLATCHARSET ITALIAN ASCII ita_asc.chs
XLATCHARSET ITALIAN IBMPC itl_ibm.chs
XLATCHARSET KOI-7 KOI-7 k7_k7.chs
XLATCHARSET KOI7 KOI-7 k7_k7.chs
XLATCHARSET KOI-7 KOI7 k7_k7.chs
XLATCHARSET KOI7 KOI7 k7_k7.chs
XLATCHARSETALIAS KOI-7 KOI7
XLATCHARSETALIAS KOI-7 KOI7
XLATCHARSET KOI-7 KOI8-R k7_k8.chs
XLATCHARSET KOI7 KOI8-R k7_k8.chs
XLATCHARSET KOI-7 KOI8R k7_k8.chs
XLATCHARSET KOI7 KOI8R k7_k8.chs
XLATCHARSETALIAS KOI-7 KOI7
XLATCHARSETALIAS KOI8-R KOI8R
XLATCHARSET KOI8-R KOI-7 k8_k7.chs
XLATCHARSET KOI8R KOI-7 k8_k7.chs
XLATCHARSET KOI8-R KOI7 k8_k7.chs
XLATCHARSET KOI8R KOI7 k8_k7.chs
XLATCHARSETALIAS KOI8-R KOI8R
XLATCHARSETALIAS KOI-7 KOI7
XLATCHARSET KOI-7 CP866 koi7_866.chs
XLATCHARSET KOI7 CP866 koi7_866.chs
XLATCHARSETALIAS KOI-7 KOI7
XLATCHARSET KOI8-R UTF-8 koi8_u8.chs
XLATCHARSET KOI8R UTF-8 koi8_u8.chs
XLATCHARSET KOI8-R UTF8 koi8_u8.chs
XLATCHARSET KOI8R UTF8 koi8_u8.chs
XLATCHARSETALIAS KOI8-R KOI8R
XLATCHARSETALIAS UTF-8 UTF8
XLATCHARSET KOI8-R ISO8859-5 koi8r_i-5.chs
XLATCHARSET KOI8R ISO8859-5 koi8r_i-5.chs
XLATCHARSET KOI8-R ISO88595 koi8r_i-5.chs
XLATCHARSET KOI8R ISO88595 koi8r_i-5.chs
XLATCHARSETALIAS KOI8-R KOI8R
XLATCHARSETALIAS ISO8859-5 ISO88595
XLATCHARSET KOI8-R CP866 koi_866.chs
XLATCHARSET KOI8R CP866 koi_866.chs
XLATCHARSETALIAS KOI8-R KOI8R
XLATCHARSET KOI8-U CP866 kou_866.chs
XLATCHARSET KOI8U CP866 kou_866.chs
XLATCHARSETALIAS KOI8-U KOI8U
XLATCHARSET KOI8-U CP1125 kou_ukr.chs
XLATCHARSET KOI8U CP1125 kou_ukr.chs
XLATCHARSETALIAS KOI8-U KOI8U
XLATCHARSET MAC-ROMAN CP1250 mac_1250.chs
XLATCHARSET MACROMAN CP1250 mac_1250.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN CP1251 mac_1251.chs
XLATCHARSET MACROMAN CP1251 mac_1251.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN CP1252 mac_1252.chs
XLATCHARSET MACROMAN CP1252 mac_1252.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN CP1253 mac_1253.chs
XLATCHARSET MACROMAN CP1253 mac_1253.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN CP1254 mac_1254.chs
XLATCHARSET MACROMAN CP1254 mac_1254.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN CP1257 mac_1257.chs
XLATCHARSET MACROMAN CP1257 mac_1257.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN CP1258 mac_1258.chs
XLATCHARSET MACROMAN CP1258 mac_1258.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN CP437 mac_437.chs
XLATCHARSET MACROMAN CP437 mac_437.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN CP850 mac_850.chs
XLATCHARSET MACROMAN CP850 mac_850.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN CP858 mac_858.chs
XLATCHARSET MACROMAN CP858 mac_858.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN CP859 mac_859.chs
XLATCHARSET MACROMAN CP859 mac_859.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC-ROMAN US-ASCII mac_asc.chs
XLATCHARSET MACROMAN US-ASCII mac_asc.chs
XLATCHARSET MAC-ROMAN USASCII mac_asc.chs
XLATCHARSET MACROMAN USASCII mac_asc.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSETALIAS US-ASCII USASCII
XLATCHARSET MAC-ROMAN ISO8859-1 mac_i-1.chs
XLATCHARSET MACROMAN ISO8859-1 mac_i-1.chs
XLATCHARSET MAC-ROMAN ISO88591 mac_i-1.chs
XLATCHARSET MACROMAN ISO88591 mac_i-1.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSETALIAS ISO8859-1 ISO88591
XLATCHARSET MAC-ROMAN ISO8859-15 mac_i15.chs
XLATCHARSET MACROMAN ISO8859-15 mac_i15.chs
XLATCHARSET MAC-ROMAN ISO885915 mac_i15.chs
XLATCHARSET MACROMAN ISO885915 mac_i15.chs
XLATCHARSET MAC IBMPC mac_ibm.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSETALIAS ISO8859-15 ISO885915
XLATCHARSET MAC CP865 mac_ibm.chs
XLATCHARSET MAC LATIN-1 mac_iso.chs
XLATCHARSET MAC LATIN1 mac_iso.chs
XLATCHARSETALIAS LATIN-1 LATIN1
XLATCHARSET MAC-ROMAN MAC-ROMAN mac_mac.chs
XLATCHARSET MACROMAN MAC-ROMAN mac_mac.chs
XLATCHARSET MAC-ROMAN MACROMAN mac_mac.chs
XLATCHARSET MACROMAN MACROMAN mac_mac.chs
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSETALIAS MAC-ROMAN MACROMAN
XLATCHARSET MAC VT100 mac_vt1.chs
XLATCHARSET CP10007 CP866 mcyr_866.chs
XLATCHARSET NORWEG ASCII nor_asc.chs
@ -506,9 +482,9 @@ XLATCHARSET UK ASCII uk__asc.chs
XLATCHARSET UK IBMPC uk__ibm.chs
XLATCHARSET CP1125 CP866 ukr_866.chs
XLATCHARSET CP1125 KOI8-R ukr_koi.chs
XLATCHARSET CP1125 KOI8R ukr_koi.chs
XLATCHARSETALIAS KOI8-R KOI8R
XLATCHARSET CP1125 KOI8-U ukr_kou.chs
XLATCHARSET CP1125 KOI8U ukr_kou.chs
XLATCHARSETALIAS KOI8-U KOI8U
XLATCHARSET CP1125 CP1125 ukr_ukr.chs
XLATCHARSET CP1251 CP866 win_866.chs
XLATCHARSET CP1251+KOI8R CP866 WK1_866.chs

View File

@ -16,7 +16,7 @@ if( -f $ARGV[1] ){
}
if( ! -d $ARGV[0] ){
die "Directory '$ARGV[1]' is not exists, exiting\n";
die "Directory '$ARGV[0]' is not exists, exiting\n";
}
my $dir=$ARGV[0], $out=$ARGV[1];
@ -36,6 +36,7 @@ HEAD
print "Found " . ($#files+1) . " *.CHS files in $dir\n";
my $errors = 0;
foreach my $f (@files) {
if( ! open( IN, "$f" ) ){ print STDERR "Can't open file '$f': $!\n"; next; }
print "Proceed $f\n";
@ -48,22 +49,30 @@ foreach my $f (@files) {
chomp;
next if( m%^$% ); # empty line
if( m%^([^\s]+)% ) {
if($count==4){ $fromchs=uc($1); }
if($count==4){
$fromchs=uc($1);
}
elsif($count==5){
my $comment;
$tochs=uc($1);
printf OUT "XLATCHARSET %-12s %-12s %s\n", $fromchs, $tochs, $f;
if(length($tochs) > 16) {
print STDERR "Charset name $tochs too long (max 16 characters). File $f can't used yet.\n";
printf OUT "; Error: $tochs too long\n";
$errors++; $comment="; ";
}
if(length($fromchs) > 16) {
print STDERR "Charset name $fromchs too long (max 16 characters). File $f can't used yet.\n";
printf OUT "; Error: $fromchs too long\n";
$errors++; $comment="; ";
}
printf OUT "%sXLATCHARSET %-12s %-12s %s\n", $comment, $fromchs, $tochs, $f;
if($fromchs =~ /-/) {
( my $temp = $fromchs ) =~ s/-//g ;
printf OUT "XLATCHARSET %-12s %-12s %s\n", $temp, $tochs, $f;
print OUT $comment."XLATCHARSETALIAS $fromchs $temp\n";
}
if($tochs =~ /-/) {
( my $temp = $tochs ) =~ s/-//g ;
printf OUT "XLATCHARSET %-12s %-12s %s\n", $fromchs, $temp, $f;
}
if( ($tochs =~ /-/) && ($fromchs =~ /-/) ) {
( my $temp1 = $fromchs ) =~ s/-//g ;
( my $temp2 = $tochs ) =~ s/-//g ;
printf OUT "XLATCHARSET %-12s %-12s %s\n", $temp1, $temp2, $f;
print OUT $comment."XLATCHARSETALIAS $tochs $temp\n";
}
}
$count++;
@ -73,3 +82,5 @@ foreach my $f (@files) {
}
close OUT;
if( $errors >0 ) { print "\n*** Errors found. Please check output file. ***\n"; }