Define XLATCHARSETALIAS for common broken configurations

This commit is contained in:
Stas Degteff 2005-12-28 09:36:09 +00:00
parent 99990d1f22
commit 95d99561f9
2 changed files with 29 additions and 18 deletions

View File

@ -1320,6 +1320,7 @@ XLATESCSET MNEMONIC CP850 MNE_850.ESC
include charsets.cfg ; This list is generated using allowed character translation table files
// Exclusion from charsets.cfg (non-standard charsets names)
// See also XLATCHARSETALIAS
XLATCHARSET MAC MAC mac_mac.chs
XLATCHARSET UKR CP866 ukr_866.chs
XLATCHARSET UKR KOI8-R ukr_koi.chs
@ -1328,19 +1329,17 @@ XLATCHARSET UKR UKR ukr_ukr.chs
XLATCHARSET CP866 UKR 866_ukr.chs
XLATCHARSET KOI8-U UKR kou_ukr.chs
XLATCHARSET CP866 WIN 866_win.chs
XLATCHARSET WIN +7_FIDO win_866.chs
XLATCHARSET +7_FIDO +7_FIDO 866_866.chs
XLATCHARSET +7_FIDO ISO8859-5 866_ISO.chs
XLATCHARSET +7_FIDO KOI8-R 866_koi.chs
XLATCHARSET +7_FIDO KOI8-U 866_kou.chs
XLATCHARSET +7_FIDO CP1125 866_ukr.chs
XLATCHARSET +7_FIDO CP1251 866_win.chs
XLATCHARSET KOI8-R +7_FIDO koi_866.chs
XLATCHARSET KOI8-U +7_FIDO kou_866.chs
XLATCHARSET CP1125 +7_FIDO ukr_866.chs
XLATCHARSET CP1251 +7_FIDO win_866.chs
//XLATCHARSET WIN +7_FIDO win_866.chs
//XLATCHARSET +7_FIDO +7_FIDO 866_866.chs
//XLATCHARSET +7_FIDO ISO8859-5 866_ISO.chs
//XLATCHARSET +7_FIDO KOI8-R 866_koi.chs
//XLATCHARSET +7_FIDO KOI8-U 866_kou.chs
//XLATCHARSET +7_FIDO CP1125 866_ukr.chs
//XLATCHARSET +7_FIDO CP1251 866_win.chs
//XLATCHARSET KOI8-R +7_FIDO koi_866.chs
//XLATCHARSET KOI8-U +7_FIDO kou_866.chs
//XLATCHARSET CP1125 +7_FIDO ukr_866.chs
//XLATCHARSET CP1251 +7_FIDO win_866.chs
// Import charsets (8-bit to 8-bit) - see charsets.cfg
;XLATCHARSET AUTO IBMPC ISO_IBM.CHS
@ -1414,6 +1413,12 @@ XLATCHARSET CP1251 +7_FIDO win_866.chs
// This defines charset aliases for import tables.
;XLATCHARSETALIAS "charset" "alias1" "alias2"...
;XLATCHARSETALIAS ISO-11 ISO-8859-11 ISO8859-11
// Common invalid configurations
XLATCHARSETALIAS CP866 CP-866 +7FIDO +7_FIDO FIDO7 FIDO_7
XLATCHARSETALIAS KOI8-R KOI8R KOI KOI8 GOST
XLATCHARSETALIAS KOI8-U KOI8U KOU KOI-U
//XLATCHARSETALIAS ISO8859-5 ISO
XLATCHARSETALIAS CP1251 CP-1251 WIN WIN-1251 WINDOWS-1251
// The character set that incoming messages are assumed to have.
XLATIMPORT IBMPC ; Default

View File

@ -1557,13 +1557,13 @@ include charsets.cfg
// ˆáª«î祭¨ï ¨§ ®¯¨á ­­®£® ¢ ä ©«¥ charsets.cfg
// Žá­®¢­ë¥ â ¡«¨æë ¨¬¯®àâ  (8-bit -> 8-bit)
XlatCharSet AUTO CP866 866_866.chs
XlatCharSet KOI8R CP866 K8R_866.chs
XlatCharSet KOI8-R CP866 KOI_866.chs
XlatCharSet CP1251 CP866 UKR_866.chs
;XlatCharSet KOI8R CP866 K8R_866.chs
;XlatCharSet KOI8-R CP866 KOI_866.chs
;XlatCharSet CP1251 CP866 UKR_866.chs
XlatCharSet LATIN1QP CP866 K8R_866.chs
XlatCharSet ISO CP866 ISO_866.chs
XlatCharSet CP1125 CP866 UKR_866.chs
XlatCharSet KOI8U CP866 KOU_866.chs
;XlatCharSet KOI8U CP866 KOU_866.chs
XlatCharSet KOI8-U CP866 KOU_866.chs
XlatCharSet LATIN-1 CP866 ISO_866.chs
XlatCharSet MAC CP866 MAC_866.chs
@ -1637,7 +1637,7 @@ XlatCharSet UK ASCII uk__asc.chs
XlatCharSet CP866 CP1251 866_1251.chs
XlatCharSet CP866 KOI8-R 866_KOI.chs
XlatCharSet CP866 LATIN1QP 866_IQP.chs
XlatCharSet CP866 +7_FIDO RUS_FTN.chs
;XlatCharSet CP866 +7_FIDO RUS_FTN.chs
XlatCharSet CP866 ISO 866_ISO.chs
XlatCharSet CP866 LATIN-1 866_ISO.chs
XlatCharSet CP866 MAC 866_MAC.chs
@ -1659,6 +1659,12 @@ XlatCharSet CP850 ASCII 850_ASC.chs
;XLATCHARSETALIAS "charset" "alias1" "alias2"...
;XLATCHARSETALIAS KOI8-R KOI8R
;XLATCHARSETALIAS ISO ISO-8859-5 ISO8859-5
// — áâ® ˘áâŕĄç î騥áď ®č¨ˇŞ¨
XLATCHARSETALIAS CP866 CP-866 +7FIDO +7_FIDO FIDO7 FIDO_7 IBMPC
XLATCHARSETALIAS KOI8-R KOI8R KOI KOI8 GOST
XLATCHARSETALIAS KOI8-U KOI8U KOU KOI-U
XLATCHARSETALIAS ISO8859-5 ISO
XLATCHARSETALIAS CP1251 CP-1251 WIN WIN-1251 WINDOWS-1251
// Ž¯à¥¤¥«¥­¨¥ ¢å®¤ï饩 ª®¤¨à®¢ª¨ ¯® 㬮«ç ­¨î. …᫨ ¯à¨å®¤ï饥
// á®®¡é¥­¨¥ ­¥ ¨¬¥¥â ª«ã¤¦  ^CHRS, â® ¡ã¤¥â áç¨â âìáï, çâ® ®­®