home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 March / Chip_2002-03_cd1.bin / tema / pegasus / download / w32-401.exe / WPM-LMTT.R < prev    next >
Text File  |  1998-05-20  |  21KB  |  526 lines

  1. ##
  2. ##  WPM-LMTT.R  (Local Mime Translation Table)
  3. ##  Copyright (c) 1994, David Harris, All Rights Reserved.
  4. ##
  5. ##  This file can be used as a model for a local resource which
  6. ##  maps ISO character sets to the code pages in use on the PCs
  7. ##  at your site.
  8. ##
  9. ##  Character translation tables:
  10. ##  Each translation table maps the characters in a particular
  11. ##  ISO set to your codepage's character set: the table can be used
  12. ##  bidirectionally when composing or decoding quoted-printable or
  13. ##  8BIT messages. Only characters from 128-255 are included in
  14. ##  the table, and each table must end with an ASCII NUL (0).
  15. ##
  16. ##  The sample tables in this file are the ones Pegasus Mail uses
  17. ##  by default: they map ISO character sets to the standard IBM
  18. ##  code page 437. You may define as many character sets as you
  19. ##  wish and Pegasus Mail will use them to translate incoming mail
  20. ##  but for outgoing mail it will only use ISO character sets.
  21. ##
  22. ##  The last resource in the file must be a "charset_list"
  23. ##  structure which ties the character strings naming an ISO
  24. ##  character set to the resource which maps it.
  25. ##
  26. #==========================================================
  27. #
  28. #   OPTIMAL CHARACTER TRANSLATIONS, should be used as
  29. #   a example for user defined tables in multilanguage fonts
  30. #   environment.
  31. #
  32. # WEST   ISO-8859-1 -->   CP 1252
  33. # CE     ISO-8859-2 -->   CP 1250
  34. # TR,AFR ISO-8859-3 --> ? CP 1252
  35. # BALTIC ISO-8859-4 -->   CP 1257
  36. # CYR    ISO-8859-5 -->   CP 1251
  37. # ARAB   ISO-8859-6 -->   CP 1256
  38. # GREEK  ISO-8859-7 -->   CP 1253
  39. # HEBR   ISO-8859-8 -->   CP 1255
  40. # TR     ISO-8859-9 -->   CP 1254
  41. # RUSS   KOI-8R     -->   CP 1251
  42. # VIETN                   CP 1258 (currently not implemented)
  43. #        ISO-8859-10      ???     (currently not implemented)
  44. #   Conversion tables from Jiri Kuchta, 8-12-96, kuchta@fee.vutbr.cz
  45. #
  46. #=========================================================
  47. ##
  48. ##  To use this file, modify it as required, then compile it with
  49. ##  the Pegasus Mail system resource compiler, RESCOM, using the
  50. ##  command 'rescom PM-LMTT.R'. This will produce the file
  51. ##  PM-LMTT.RSC, which should be copied into the same directory
  52. ##  as PMAIL.EXE, or into your home mailbox.
  53.  
  54. ##
  55. ##  The "charset_list" type is used to tie a particular name of
  56. ##  a character set to the table used to decode it.
  57. ##
  58.  
  59. typedef charset_list 25
  60.    {
  61.    repeat,
  62.    string 20,     # Character set name
  63.    integer        # resource ID of table to load.
  64.    };
  65.  
  66.  
  67. ###----------------------------------------------------------------
  68. ##                I S O - 8 8 5 9 - 1     (Latin 1)
  69. ###----------------------------------------------------------------
  70. ## Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
  71. ## Irish, Italian, Norwegian, Portuguese, Spanish and Swedish.
  72. ##
  73. ## optimal conversion into CP850, CP1252
  74.  
  75. structure iso8859_1
  76.     {
  77. # conversion ISO-1 --> 1252
  78.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  79.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  80.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  81.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  82. '\160', 'í', 'ó', 'ú', 'ñ', 'Ñ', '|', 'º',      #a0
  83.     '¿', '⌐', '¬', '½', '¼', '¡', '«', 'û',      #a8
  84.    '░', '▒', '▓', '│', '┤', '╡', '╢', '╖',      #b0
  85.     '╕', '╣', '║', '╗', '╝', '╜', '╛', '┐',      #b8
  86.    '└', '┴', '┬', '├', '─', '┼', '╞', '╟',      #c0
  87.     '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧',      #c8
  88.    '╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫',      #d0
  89.    '╪', '┘', '┌', '█', '▄', '▌', '▐', '▀',      #d8
  90.    'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',      #e0
  91.    'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩',      #e8
  92.    '≡', '±', '≥', '≤', '⌠', '⌡', '÷', '≈',      #f0
  93.    '°', '∙', '·', '√', 'ⁿ', '²', '■', ' ',      #f8
  94.    0
  95.     };
  96.  
  97. ###----------------------------------------------------------------
  98. ##                I S O - 8 8 5 9 - 2     (Latin 2)
  99. ###----------------------------------------------------------------
  100. ## Albanian, Czech, English, German, Hungarian, Polish, Rumanian,
  101. ## Serbo-Croatian, Slovak, Slovene and Swedish.
  102. ##
  103. ## optimal conversion into CP852, CP1250
  104.  
  105. #structure iso8859_2
  106. #   {
  107. ## conversion ISO-2 --> 1252 (WEST)
  108. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  109. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  110. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  111. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  112. #'\160', 'A', 'ÿ', 'L', 'ñ', 'L', 'S', 'º',      #a0
  113. #   '¿', 'è', 'S', 'T', 'Z', '¡', 'Z', 'Z',      #a8
  114. #   '░', 'a', '?', 'l', '┤', 'l', 's', 'ê',      #b0
  115. #   '╕', 'Ü', 's', 't', 'z', '¿', 'z', 'z',      #b8
  116. #   'R', '┴', '┬', '├', '─', 'L', 'C', '╟',      #c0
  117. #   'C', '╔', 'E', '╦', '╩', '═', '╬', 'D',      #c8
  118. #   '╨', 'N', '╤', '╙', '╘', '╓', '╓', '╫',      #d0
  119. #   'R', '█', '┌', '▄', '▄', '▌', 'T', '▀',      #d8
  120. #   'r', 'ß', 'Γ', 'π', 'Σ', 'l', 'c', 'τ',      #e0
  121. #   'c', 'Θ', 'e', 'δ', 'Ω', 'φ', 'ε', 'd',      #e8
  122. #   '≡', 'n', '±', '≤', '⌠', '÷', '÷', '≈',      #f0
  123. #   'r', '√', '·', 'ⁿ', 'ⁿ', '²', 't', '╖',      #f8
  124. #   0
  125. #   };
  126.  
  127. structure iso8859_2
  128.    {
  129. # conversion ISO-2 --> 1250 (CE)
  130.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  131.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  132.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  133.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  134. '\160', 'Ñ', 'ó', 'ú', 'ñ', '╝', 'î', 'º',      #a0
  135.     '¿', 'è', '¬', 'ì', 'Å', '¡', 'Ä', '»',      #a8
  136.     '░', '╣', '▓', '│', '┤', '╛', '£', 'í',      #b0
  137.     '╕', 'Ü', '║', '¥', 'ƒ', '╜', '₧', '┐',      #b8
  138.    '└', '┴', '┬', '├', '─', '┼', '╞', '╟',      #c0
  139.     '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧',      #c8
  140.    '╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫',      #d0
  141.     '╪', '┘', '┌', '█', '▄', '▌', '▐', '▀',      #d8
  142.    'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',      #e0
  143.    'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩',      #e8
  144.    '≡', '±', '≥', '≤', '⌠', '⌡', '÷', '≈',      #f0
  145.    '°', '∙', '·', '√', 'ⁿ', '²', '■', '╖',      #f8
  146.    0
  147.    };
  148.  
  149. ###----------------------------------------------------------------
  150. ##                I S O - 8 8 5 9 - 3     (Latin 3)
  151. ###----------------------------------------------------------------
  152. ## Afrikaans, Catalan, English, Esperanto, French, Galician, German,
  153. ## Italian, Maltese and Turkish.
  154. ##
  155. ## optimal conversion into CP85x, CP125x
  156.  
  157. structure iso8859_3
  158.     {
  159. # conversion ISO-3 --> 1252
  160.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  161.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  162.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  163.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  164. '\160', 'H', '»', 'ú', 'ñ', ' ', 'H', 'º',      #a0
  165.     '¿', 'I', 'S', 'G', 'J', '¡', ' ', 'Z',      #a8
  166.     '░', 'h', '▓', '│', '┤', '╡', 'h', '╖',      #b0
  167.     '╕', 'i', 's', 'g', 'j', '╜', ' ', 'z',      #b8
  168.     '└', '┴', '┬', ' ', '─', 'C', 'C', '╟',      #c0
  169.     '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧',      #c8
  170.     ' ', '╤', '╥', '╙', '╘', 'G', '╓', '╫',      #d0
  171.     'G', '┘', '┌', '█', '▄', 'U', 'è', '▀',      #d8
  172.    'α', 'ß', 'Γ', ' ', 'Σ', 'c', 'c', 'τ',      #e0
  173.     'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩',      #e8
  174.    ' ', '±', '≥', '≤', '⌠', 'g', '÷', '≈',      #f0
  175.    'g', '∙', '·', '√', 'ⁿ', 'u', 'Ü', ' ',      #f8
  176.   0
  177.    };
  178.  
  179. ###----------------------------------------------------------------
  180. ##                I S O - 8 8 5 9 - 4     (Latin 4)
  181. ###----------------------------------------------------------------
  182. ## Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
  183. ## Latvian, Lithuanian, Norwegian and Swedish.
  184. ##
  185. ## optimal conversion into CP85x, CP1257
  186.  
  187.  
  188. #structure iso8859_4
  189. #   {
  190. ## conversion ISO-4 --> 1252
  191. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  192. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  193. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  194. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  195. #'\160', 'A', 'k', 'R', 'ñ', 'I', 'L', 'º',      #a0
  196. #   '¿', 'è', '╩', 'G', 'T', '¡', 'Z', '»',      #a8
  197. #   '░', 'a', 'é', 'r', '┤', 'N', 'z', 'n',      #b0
  198. #   '╕', 'Ü', 'Ω', 'g', 't', 'i', 'l', '┐',      #b8
  199. #   '└', '┴', '┬', '├', '─', '┼', '╞', 'I',      #c0
  200. #   'C', '╔', 'E', '╦', '╚', '═', '╬', '╧',      #c8
  201. #   '╨', '╤', '╥', 'K', '╘', '╒', '╓', '╫',      #d0
  202. #   '╪', '┘', '┌', '█', '▄', 'U', 'U', '▀',      #d8
  203. #   'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'i',      #e0
  204. #   'c', 'Θ', 'e', 'δ', 'Φ', 'φ', 'ε', '∩',      #e8
  205. #   '≡', '±', '≥', 'k', '⌠', '⌡', '÷', '≈',      #f0
  206. #   '°', '∙', '·', '√', 'ⁿ', 'u', 'u', '┤',      #f8
  207. #   0
  208. #   };
  209.  
  210. structure iso8859_4
  211.     {
  212. # conversion ISO-4 --> 1257
  213.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  214.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  215.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  216.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  217. '\160', '└', 'k', '¬', 'ñ', 'I', '╧', 'º',      #a0
  218.     'ì', '╨', '╟', '╠', 'T', '¡', '▐', '¥',      #a8
  219.     '░', 'α', '₧', '║', '┤', 'i', '∩', 'Ä',      #b0
  220.     'Å', '≡', 'τ', '∞', 't', '?', '■', '?',      #b8
  221.     '┬', 'A', 'A', 'A', '─', '┼', '»', '┴',      #c0
  222.     '╚', '╔', '╞', 'E', '╦', 'I', 'I', '╬',      #c8
  223.     'D', '╥', '╘', '═', 'O', '╒', '╓', '╫',      #d0
  224.     '╪', 'U', 'U', '▄', 'U', 'U', '█', '▀',      #d8
  225.     'Γ', 'a', 'a', 'a', 'Σ', 'σ', '┐', 'ß',      #e0
  226.     'Φ', 'Θ', 'µ', 'e', 'δ', 'i', 'i', 'ε',      #e8
  227.     'd', '≥', '⌠', 'φ', 'o', '⌡', '÷', '≈',      #f0
  228.     '°', 'u', 'u', 'ⁿ', 'u', 'u', '√', ' ',      #f8
  229.    0
  230.    };
  231.  
  232. ###----------------------------------------------------------------
  233. ##                I S O - 8 8 5 9 - 5     (Cyrilic)
  234. ###----------------------------------------------------------------
  235. ## Bulgarian, Bielorussian, English, Macedonian, Russian,
  236. ## Serbo-Croatian and Ukrainian.
  237. ##
  238. ## optimal conversion into CP855, CP866, CP1251
  239.  
  240.  
  241. #structure iso8859_5
  242. #   {
  243. ## conversion ISO-5--> 1252
  244. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  245. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  246. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  247. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  248. #'\160', '╦', '?', 'r', 'E', 'S', 'I', '╧',      #a0
  249. #   'J', 'L', 'H', '?', 'K', '-', 'ƒ', '?',      #a8
  250. #   'A', 'B', 'V', 'G', 'D', 'E', 'Z', '3',      #b0
  251. #   'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',      #b8
  252. #   'R', 'S', 'T', 'U', '╪', 'X', 'C', '╟',      #c0
  253. #   'S', 'S', '?', '?', '?', '3', '▄', '─',      #c8
  254. #   'a', 'b', 'v', 'g', 'd', 'e', 'z', '3',      #d0
  255. #   'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p',      #d8
  256. #   'r', 's', 't', 'u', '°', 'x', 'c', 'τ',      #e0
  257. #   's', 's', '?', '?', '?', '3', 'ⁿ', 'Σ',      #e8
  258. #   '¬', 'δ', '?', 'r', 'e', 's', 'i', '∩',      #f0
  259. #   'j', 'l', 'h', '?', 'k', ' ', ' ', '?',      #f8
  260. #   0
  261. #   };
  262.  
  263.  
  264. structure iso8859_5
  265.    {
  266. # conversion ISO-5 --> 1251
  267.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  268.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  269.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  270.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  271. '\160', '¿', 'Ç', 'ü', '¬', '╜', '▓', '»',      #a0
  272.     'ú', 'è', 'î', 'Ä', 'ì', '¡', 'í', 'Å',      #a8
  273.     '└', '┴', '┬', '├', '─', '┼', '╞', '╟',      #b0
  274.     '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧',      #b8
  275.     '╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫',      #c0
  276.     '╪', '┘', '┌', '█', '▄', '▌', '▐', '▀',      #c8
  277.     'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',      #d0
  278.     'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩',      #d8
  279.     '≡', '±', '≥', '≤', '⌠', '⌡', '÷', '≈',      #e0
  280.     '°', '∙', '·', '√', 'ⁿ', '²', '■', ' ',      #e8
  281.     '╣', '╕', 'É', 'â', '║', '╛', '│', '┐',      #f0
  282.     '╝', 'Ü', '£', '₧', '¥', ' ', 'ó', 'ƒ',      #f8
  283.    0
  284.    };
  285.  
  286. ###----------------------------------------------------------------
  287. ##                I S O - 8 8 5 9 - 6     (Arabic)
  288. ###----------------------------------------------------------------
  289. ## This set of graphic character is intended for use in information
  290. ## interchange as well as in data and text processing applications
  291. ## where both the Arabic and the Latin scripts are used.
  292. ##
  293. ## optimal conversion into CP85x, CP1256
  294.  
  295. #structure iso8859_6
  296. #   {
  297. ## conversion ISO-6--> 1252
  298. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  299. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  300. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  301. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  302. #'\160', ' ', ' ', ' ', 'ñ', ' ', ' ', ' ',      #a0
  303. #   ' ', ' ', ' ', ' ', '`', '-', ' ', ' ',      #a8
  304. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #b0
  305. #   ' ', ' ', ' ', ';', ' ', ' ', ' ', '¿',      #b8
  306. #   ' ', '?', '?', '?', '?', '?', '?', '?',      #c0
  307. #   '?', '?', '?', '?', '?', '?', '?', '?',      #c8
  308. #   '?', '?', '?', '?', '?', '?', '?', '?',      #d0
  309. #   '?', '?', '?', ' ', ' ', ' ', ' ', ' ',      #d8
  310. #   '-', '?', '?', '?', '?', '?', '?', '?',      #e0
  311. #   '?', '?', '?', '-', '-', '-', '-', '-',      #e8
  312. #   '-', '-', '-', ' ', ' ', ' ', ' ', ' ',      #f0
  313. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #f8
  314. #   0
  315. #   };
  316.  
  317.  
  318. structure iso8859_6
  319.     {
  320. ## conversion ISO-6--> 1256
  321.     ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',         #80
  322.     ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',         #88
  323.     ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',         #90
  324.     ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',         #98
  325.     '\160',' ',   ' ',   ' ',   'ñ',   ' ',   ' ',   ' ',         #a0
  326.     ' ',   ' ',   ' ',   ' ',   '\161','\173',' ',   ' ',         #a8
  327.     ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',         #b0
  328.     ' ',   ' ',   ' ',   '\186',' ',   ' ',   ' ',   '\191',      #b8
  329.     ' ',   '\193','\194','\195','\196','\197','\198','\199',      #c0
  330.     '\200','\201','\202','\203','\204','\205','\206','\207',      #c8
  331.     '\208','\209','\210','\211','\212','\213','\214','\216',      #d0
  332.     '\217','\218','\219',' ',   ' ',   ' ',   ' ',   ' ',         #d8
  333.     '\220','\221','\222','\223','\225','\227','\228','\229',      #e0
  334.     '\230','\236','\237','\240','\241','\242','\243','\245',      #e8
  335.     '\246','\248','\250',' ',   ' ',   ' ',   ' ',   ' ',         #f0
  336.     ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',   ' ',         #f8
  337.     0
  338.    };
  339.  
  340. ###----------------------------------------------------------------
  341. ##                I S O - 8 8 5 9 - 7     (Greek)
  342. ###----------------------------------------------------------------
  343. ## This set is suited for multiple-language applications involving the
  344. ## Latin and the Greek scripts. It allows handling of data and text
  345. ## expressed in Greek.
  346. ##
  347. ## optimal conversion into CP85x, CP1253
  348.  
  349. structure iso8859_7
  350.     {
  351. ## conversion ISO-7--> 1253
  352.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  353.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  354.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  355.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  356. '\160', ',', '`', 'ú', ' ', ' ', 'ª', 'º',      #a0
  357.     '¿', '⌐', ' ', '½', '¼', '¡', ' ', '»',      #a8
  358.     '░', '▒', '▓', '│', '┤', 'í', 'ó', '╖',      #b0
  359.    '╕', '╣', '║', '╗', '╝', '╜', '╛', '┐',      #b8
  360.    '└', '┴', '┬', '├', '─', '┼', '╞', '╟',      #c0
  361.    '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧',      #c8
  362.    '╨', '╤', ' ', '╙', '╘', '╒', '╓', '╫',      #d0
  363.    '╪', '┘', '┌', '█', '▄', '▌', '▐', '▀',      #d8
  364.    'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',      #e0
  365.    'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩',      #e8
  366.    '≡', '±', '≥', '≤', '⌠', '⌡', '÷', '≈',      #f0
  367.    '°', '∙', '·', '√', 'ⁿ', '²', '■', ' ',      #f8
  368.     0
  369.    };
  370.  
  371. ###----------------------------------------------------------------
  372. ##                I S O - 8 8 5 9 - 8     (Hebrew)
  373. ###----------------------------------------------------------------
  374. ## This set is suited for multiple-language applications involving the
  375. ## Latin and the Hebrew scripts. It allows handling of data and text
  376. ## expressed in Hebrew.
  377. ##
  378. ## optimal conversion into CP85x, CP1255
  379.  
  380. #structure iso8859_8
  381. #   {
  382. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  383. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  384. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  385. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  386. #'\160', ' ', 'ó', 'ú', 'ñ', 'Ñ', 'ª', 'º',      #a0
  387. #   '¿', '⌐', '╫', '½', '¼', '¡', '«', '?',      #a8
  388. #     '░', '▒', '▓', '│', '┤', '╡', '╢', '╖',      #b0
  389. #     ',', '╣', '≈', '╗', '╝', '╜', '╛', ' ',      #b8
  390. #     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #c0
  391. #     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #c8
  392. #     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #d0
  393. #     ' ', ' ', ' ', ' ', ' ', ' ', ' ', '?',      #d8
  394. #   '?', '?', '?', '?', '?', '?', '?', '?',      #e0
  395. #   '?', '?', '?', '?', '?', '?', '?', '?',      #e8
  396. #   '?', '?', '?', '?', '?', '?', '?', '?',      #f0
  397. #   '?', '?', '?', '?', '?', '?', '?', '?',      #f8
  398. #   0
  399. #   };
  400.  
  401.  
  402. structure iso8859_8
  403.    {
  404. ## conversion ISO-8--> 1255
  405.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  406.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  407.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  408.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  409. '\160', ' ', 'ó', 'ú', 'ñ', 'Ñ', 'ª', 'º',      #a0
  410.     '¿', '⌐', 'x', '½', '¼', '¡', '«', '?',      #a8
  411.     '░', '▒', '▓', '│', '┤', '╡', '╢', '╖',      #b0
  412.     ',', '╣', '/', '╗', '╝', '╜', '╛', ' ',      #b8
  413.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #c0
  414.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #c8
  415.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #d0
  416.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', '?',      #d8
  417.     '\224','\225','\226','\227','\228','\229','\230','\231',      #e0
  418.     '\232','\233','\234','\235','\236','\237','\238','\239',      #e8
  419.     '\240','\241','\242','\243','\244','\245','\246','\247',      #f0
  420.     '\248','\249','\250',' ',   ' ',   ' ',   ' ',   ' ',         #f8
  421.     0
  422.     };
  423.  
  424.  
  425. ###----------------------------------------------------------------
  426. ##                I S O - 8 8 5 9 - 9     (Latin 5)
  427. ###----------------------------------------------------------------
  428. ## English, Finnish, French, German, Irish, Italian, Norwegian,
  429. ## Portuguese, Spanish and Swedish and Turkish.
  430. ##
  431. ## optimal conversion into CP85x, CP1254
  432.  
  433.  
  434. #structure iso8859_9
  435. #   {
  436. ## conversion ISO-9 --> 1252
  437. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  438. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  439. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  440. #   ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  441. #'\160', 'í', 'ó', 'ú', 'ñ', 'Ñ', '|', 'º',      #a0
  442. #   '¿', '⌐', '¬', '½', '¼', '¡', '«', 'û',      #a8
  443. #   '░', '▒', '▓', '│', '┤', '╡', '╢', '╖',      #b0
  444. #   '╕', '╣', '║', '╗', '╝', '╜', '╛', '┐',      #b8
  445. #   '└', '┴', '┬', '├', '─', '┼', '╞', '╟',      #c0
  446. #   '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧',      #c8
  447. #   'G', '╤', '╥', '╙', '╘', '╒', '╓', '╫',      #d0
  448. #   '╪', '┘', '┌', '█', '▄', 'I', 'S', '▀',      #d8
  449. #   'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',      #e0
  450. #   'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩',      #e8
  451. #   'g', '±', '≥', '≤', '⌠', '⌡', '÷', '≈',      #f0
  452. #   '°', '∙', '·', '√', 'ⁿ', 'i', 's', ' ',      #f8
  453. #   0
  454. #   };
  455.  
  456.  
  457. structure iso8859_9
  458.     {
  459. # conversion ISO-9 --> 1254
  460.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  461.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  462.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  463.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  464. '\160', 'í', 'ó', 'ú', 'ñ', 'Ñ', 'ª', 'º',      #a0
  465.     '¿', '⌐', '¬', '½', '¼', '¡', '«', '»',      #a8
  466.     '░', '▒', '▓', '│', '┤', '╡', '╢', '╖',      #b0
  467.     '╕', '╣', '║', '╗', '╝', '╜', '╛', '┐',      #b8
  468.     '└', '┴', '┬', '├', '─', '┼', '╞', '╟',      #c0
  469.     '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧',      #c8
  470.     '╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫',      #d0
  471.     '╪', '┘', '┌', '█', '▄', '▌', '▐', '▀',      #d8
  472.     'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',      #e0
  473.     'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩',      #e8
  474.     '≡', '±', '≥', '≤', '⌠', '⌡', '÷', '≈',      #f0
  475.     '°', '∙', '·', '√', 'ⁿ', '²', '■', ' ',      #f8
  476.     0
  477.     };
  478.  
  479. ###----------------------------------------------------------------
  480. ##                K O I - 8 R             (Cyrilic)
  481. ###----------------------------------------------------------------
  482. ## Bulgarian, Bielorussian, English, Macedonian, Russian,
  483. ## Serbo-Croatian and Ukrainian.
  484. ##
  485. ## optimal conversion into CP855, CP866, CP1251
  486.  
  487.  
  488. structure koi8_r
  489.    {
  490. # conversion KOI8-R --> 1251
  491.     '-', '|', '+', '+', '+', '+', '|', '|',      #80
  492.     '-', '-', '+', '#', '#', '#', '#', '#',      #88
  493.     '#', '#', '#', '|', '#', '?', '?', '~',      #90
  494.     '?', '?', ' ', '|', '?', '2', '.', '/',      #98
  495.     '-', '|', '+', '╕', '+', '+', '+', '+',      #a0
  496.     '+', '+', '+', '+', '+', '+', '+', '|',      #a8
  497.     '|', '|', '|', '¿', '|', '|', '-', '-',      #b0
  498.     '-', '-', '-', '-', '+', '+', '+', '⌐',      #b8
  499.     '■', 'α', 'ß', '÷', 'Σ', 'σ', '⌠', 'π',      #c0
  500.     '⌡', 'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε',      #c8
  501.     '∩', ' ', '≡', '±', '≥', '≤', 'µ', 'Γ',      #d0
  502.     'ⁿ', '√', 'τ', '°', '²', '∙', '≈', '·',      #d8
  503.     '▐', '└', '┴', '╓', '─', '┼', '╘', '├',      #e0
  504.     '╒', '╚', '╔', '╩', '╦', '╠', '═', '╬',      #e8
  505.     '╧', '▀', '╨', '╤', '╥', '╙', '╞', '┬',      #f0
  506.     '▄', '█', '╟', '╪', '▌', '┘', '╫', '┌',      #f8
  507.    0
  508.     };
  509.  
  510. charset_list _mime_csets
  511.    {
  512.    "ISO-8859-1", iso8859_1,
  513.    "ISO-8859-2", iso8859_2,
  514.    "ISO-8859-3", iso8859_3,
  515.    "ISO-8859-4", iso8859_4,
  516.    "ISO-8859-5", iso8859_5,
  517.    "ISO-8859-6", iso8859_6,
  518.    "ISO-8859-7", iso8859_7,
  519.    "ISO-8859-8", iso8859_8,
  520.    "ISO-8859-9", iso8859_9,
  521.    "KOI8-R",     koi8_r,
  522.    "", -1
  523.    };
  524.  
  525.  
  526.