home *** CD-ROM | disk | FTP | other *** search
/ Bila Vrana / BILA_VRANA.iso / 018A / W32_250.ZIP / W32-250.EXE / WPM-LMTT.R < prev   
Text File  |  1996-12-18  |  15KB  |  376 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 --> 1250 (CE)
  108.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  109.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  110.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  111.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  112. '\160', 'Ñ', 'ó', 'ú', 'ñ', '╝', 'î', 'º',      #a0
  113.     '¿', 'è', '¬', 'ì', 'Å', '¡', 'Ä', '»',      #a8
  114.     '░', '╣', '▓', '│', '┤', '╛', '£', 'í',      #b0
  115.     '╕', 'Ü', '║', '¥', 'ƒ', '╜', '₧', '┐',      #b8
  116.    '└', '┴', '┬', '├', '─', '┼', '╞', '╟',      #c0
  117.     '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧',      #c8
  118.    '╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫',      #d0
  119.     '╪', '┘', '┌', '█', '▄', '▌', '▐', '▀',      #d8
  120.    'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',      #e0
  121.    'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩',      #e8
  122.    '≡', '±', '≥', '≤', '⌠', '⌡', '÷', '≈',      #f0
  123.    '°', '∙', '·', '√', 'ⁿ', '²', '■', '╖',      #f8
  124.    0
  125.    };
  126.  
  127. ###----------------------------------------------------------------
  128. ##                I S O - 8 8 5 9 - 3     (Latin 3)
  129. ###----------------------------------------------------------------
  130. ## Afrikaans, Catalan, English, Esperanto, French, Galician, German,
  131. ## Italian, Maltese and Turkish.
  132. ##
  133. ## optimal conversion into CP85x, CP125x
  134.  
  135. structure iso8859_3
  136.     {
  137. # conversion ISO-3 --> 1252
  138.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  139.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  140.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  141.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  142. '\160', 'H', '»', 'ú', 'ñ', ' ', 'H', 'º',      #a0
  143.     '¿', 'I', 'S', 'G', 'J', '¡', ' ', 'Z',      #a8
  144.     '░', 'h', '▓', '│', '┤', '╡', 'h', '╖',      #b0
  145.     '╕', 'i', 's', 'g', 'j', '╜', ' ', 'z',      #b8
  146.     '└', '┴', '┬', ' ', '─', 'C', 'C', '╟',      #c0
  147.     '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧',      #c8
  148.     ' ', '╤', '╥', '╙', '╘', 'G', '╓', '╫',      #d0
  149.     'G', '┘', '┌', '█', '▄', 'U', 'è', '▀',      #d8
  150.    'α', 'ß', 'Γ', ' ', 'Σ', 'c', 'c', 'τ',      #e0
  151.     'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩',      #e8
  152.    ' ', '±', '≥', '≤', '⌠', 'g', '÷', '≈',      #f0
  153.    'g', '∙', '·', '√', 'ⁿ', 'u', 'Ü', ' ',      #f8
  154.   0
  155.    };
  156.  
  157. ###----------------------------------------------------------------
  158. ##                I S O - 8 8 5 9 - 4     (Latin 4)
  159. ###----------------------------------------------------------------
  160. ## Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
  161. ## Latvian, Lithuanian, Norwegian and Swedish.
  162. ##
  163. ## optimal conversion into CP85x, CP1257
  164.  
  165.  
  166. structure iso8859_4
  167.     {
  168. # conversion ISO-4 --> 1257
  169.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  170.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  171.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  172.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  173. '\160', '└', 'k', '¬', 'ñ', 'I', '╧', 'º',      #a0
  174.     'ì', '╨', '╟', '╠', 'T', '¡', '▐', '¥',      #a8
  175.     '░', 'α', '₧', '║', '┤', 'i', '∩', 'Ä',      #b0
  176.     'Å', '≡', 'τ', '∞', 't', '?', '■', '?',      #b8
  177.     '┬', 'A', 'A', 'A', '─', '┼', '»', '┴',      #c0
  178.     '╚', '╔', '╞', 'E', '╦', 'I', 'I', '╬',      #c8
  179.     'D', '╥', '╘', '═', 'O', '╒', '╓', '╫',      #d0
  180.     '╪', 'U', 'U', '▄', 'U', 'U', '█', '▀',      #d8
  181.     'Γ', 'a', 'a', 'a', 'Σ', 'σ', '┐', 'ß',      #e0
  182.     'Φ', 'Θ', 'µ', 'e', 'δ', 'i', 'i', 'ε',      #e8
  183.     'd', '≥', '⌠', 'φ', 'o', '⌡', '÷', '≈',      #f0
  184.     '°', 'u', 'u', 'ⁿ', 'u', 'u', '√', ' ',      #f8
  185.    0
  186.    };
  187.  
  188.  
  189. structure iso8859_5
  190.    {
  191. # conversion ISO-5 --> 1251
  192.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #80
  193.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #88
  194.     ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #90
  195.    ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',      #98
  196. '\160', '¿', 'Ç', 'ü', '¬', '╜', '▓', '»',      #a0
  197.     'ú', 'è', 'î', 'Ä', 'ì', '¡', 'í', 'Å',      #a8
  198.     '└', '┴', '┬', '├', '─', '┼', '╞', '╟',      #b0
  199.     '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧',      #b8
  200.     '╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫',      #c0
  201.     '╪', '┘', '┌', '█', '▄', '▌', '▐', '▀',      #c8
  202.     'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',