home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Blackhawk for Windows 95 1997 June
/
blackhawk-for-windows95-june19
/
disc1
/
internet
/
mail
/
w32_253.exe
/
WPM-LMTT.R
< prev
Wrap
Text File
|
1996-12-18
|
15KB
|
376 lines
##
## WPM-LMTT.R (Local Mime Translation Table)
## Copyright (c) 1994, David Harris, All Rights Reserved.
##
## This file can be used as a model for a local resource which
## maps ISO character sets to the code pages in use on the PCs
## at your site.
##
## Character translation tables:
## Each translation table maps the characters in a particular
## ISO set to your codepage's character set: the table can be used
## bidirectionally when composing or decoding quoted-printable or
## 8BIT messages. Only characters from 128-255 are included in
## the table, and each table must end with an ASCII NUL (0).
##
## The sample tables in this file are the ones Pegasus Mail uses
## by default: they map ISO character sets to the standard IBM
## code page 437. You may define as many character sets as you
## wish and Pegasus Mail will use them to translate incoming mail
## but for outgoing mail it will only use ISO character sets.
##
## The last resource in the file must be a "charset_list"
## structure which ties the character strings naming an ISO
## character set to the resource which maps it.
##
#==========================================================
#
# OPTIMAL CHARACTER TRANSLATIONS, should be used as
# a example for user defined tables in multilanguage fonts
# environment.
#
# WEST ISO-8859-1 --> CP 1252
# CE ISO-8859-2 --> CP 1250
# TR,AFR ISO-8859-3 --> ? CP 1252
# BALTIC ISO-8859-4 --> CP 1257
# CYR ISO-8859-5 --> CP 1251
# ARAB ISO-8859-6 --> CP 1256
# GREEK ISO-8859-7 --> CP 1253
# HEBR ISO-8859-8 --> CP 1255
# TR ISO-8859-9 --> CP 1254
# RUSS KOI-8R --> CP 1251
# VIETN CP 1258 (currently not implemented)
# ISO-8859-10 ??? (currently not implemented)
# Conversion tables from Jiri Kuchta, 8-12-96, kuchta@fee.vutbr.cz
#
#=========================================================
##
## To use this file, modify it as required, then compile it with
## the Pegasus Mail system resource compiler, RESCOM, using the
## command 'rescom PM-LMTT.R'. This will produce the file
## PM-LMTT.RSC, which should be copied into the same directory
## as PMAIL.EXE, or into your home mailbox.
##
## The "charset_list" type is used to tie a particular name of
## a character set to the table used to decode it.
##
typedef charset_list 25
{
repeat,
string 20, # Character set name
integer # resource ID of table to load.
};
###----------------------------------------------------------------
## I S O - 8 8 5 9 - 1 (Latin 1)
###----------------------------------------------------------------
## Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
## Irish, Italian, Norwegian, Portuguese, Spanish and Swedish.
##
## optimal conversion into CP850, CP1252
structure iso8859_1
{
# conversion ISO-1 --> 1252
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #80
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #88
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #90
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #98
'\160', 'í', 'ó', 'ú', 'ñ', 'Ñ', '|', 'º', #a0
'¿', '⌐', '¬', '½', '¼', '¡', '«', 'û', #a8
'░', '▒', '▓', '│', '┤', '╡', '╢', '╖', #b0
'╕', '╣', '║', '╗', '╝', '╜', '╛', '┐', #b8
'└', '┴', '┬', '├', '─', '┼', '╞', '╟', #c0
'╚', '╔', '╩', '╦', '╠', '═', '╬', '╧', #c8
'╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫', #d0
'╪', '┘', '┌', '█', '▄', '▌', '▐', '▀', #d8
'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ', #e0
'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩', #e8
'≡', '±', '≥', '≤', '⌠', '⌡', '÷', '≈', #f0
'°', '∙', '·', '√', 'ⁿ', '²', '■', ' ', #f8
0
};
###----------------------------------------------------------------
## I S O - 8 8 5 9 - 2 (Latin 2)
###----------------------------------------------------------------
## Albanian, Czech, English, German, Hungarian, Polish, Rumanian,
## Serbo-Croatian, Slovak, Slovene and Swedish.
##
## optimal conversion into CP852, CP1250
structure iso8859_2
{
# conversion ISO-2 --> 1250 (CE)
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #80
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #88
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #90
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #98
'\160', 'Ñ', 'ó', 'ú', 'ñ', '╝', 'î', 'º', #a0
'¿', 'è', '¬', 'ì', 'Å', '¡', 'Ä', '»', #a8
'░', '╣', '▓', '│', '┤', '╛', '£', 'í', #b0
'╕', 'Ü', '║', '¥', 'ƒ', '╜', '₧', '┐', #b8
'└', '┴', '┬', '├', '─', '┼', '╞', '╟', #c0
'╚', '╔', '╩', '╦', '╠', '═', '╬', '╧', #c8
'╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫', #d0
'╪', '┘', '┌', '█', '▄', '▌', '▐', '▀', #d8
'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ', #e0
'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩', #e8
'≡', '±', '≥', '≤', '⌠', '⌡', '÷', '≈', #f0
'°', '∙', '·', '√', 'ⁿ', '²', '■', '╖', #f8
0
};
###----------------------------------------------------------------
## I S O - 8 8 5 9 - 3 (Latin 3)
###----------------------------------------------------------------
## Afrikaans, Catalan, English, Esperanto, French, Galician, German,
## Italian, Maltese and Turkish.
##
## optimal conversion into CP85x, CP125x
structure iso8859_3
{
# conversion ISO-3 --> 1252
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #80
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #88
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #90
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #98
'\160', 'H', '»', 'ú', 'ñ', ' ', 'H', 'º', #a0
'¿', 'I', 'S', 'G', 'J', '¡', ' ', 'Z', #a8
'░', 'h', '▓', '│', '┤', '╡', 'h', '╖', #b0
'╕', 'i', 's', 'g', 'j', '╜', ' ', 'z', #b8
'└', '┴', '┬', ' ', '─', 'C', 'C', '╟', #c0
'╚', '╔', '╩', '╦', '╠', '═', '╬', '╧', #c8
' ', '╤', '╥', '╙', '╘', 'G', '╓', '╫', #d0
'G', '┘', '┌', '█', '▄', 'U', 'è', '▀', #d8
'α', 'ß', 'Γ', ' ', 'Σ', 'c', 'c', 'τ', #e0
'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩', #e8
' ', '±', '≥', '≤', '⌠', 'g', '÷', '≈', #f0
'g', '∙', '·', '√', 'ⁿ', 'u', 'Ü', ' ', #f8
0
};
###----------------------------------------------------------------
## I S O - 8 8 5 9 - 4 (Latin 4)
###----------------------------------------------------------------
## Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
## Latvian, Lithuanian, Norwegian and Swedish.
##
## optimal conversion into CP85x, CP1257
structure iso8859_4
{
# conversion ISO-4 --> 1257
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #80
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #88
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #90
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #98
'\160', '└', 'k', '¬', 'ñ', 'I', '╧', 'º', #a0
'ì', '╨', '╟', '╠', 'T', '¡', '▐', '¥', #a8
'░', 'α', '₧', '║', '┤', 'i', '∩', 'Ä', #b0
'Å', '≡', 'τ', '∞', 't', '?', '■', '?', #b8
'┬', 'A', 'A', 'A', '─', '┼', '»', '┴', #c0
'╚', '╔', '╞', 'E', '╦', 'I', 'I', '╬', #c8
'D', '╥', '╘', '═', 'O', '╒', '╓', '╫', #d0
'╪', 'U', 'U', '▄', 'U', 'U', '█', '▀', #d8
'Γ', 'a', 'a', 'a', 'Σ', 'σ', '┐', 'ß', #e0
'Φ', 'Θ', 'µ', 'e', 'δ', 'i', 'i', 'ε', #e8
'd', '≥', '⌠', 'φ', 'o', '⌡', '÷', '≈', #f0
'°', 'u', 'u', 'ⁿ', 'u', 'u', '√', ' ', #f8
0
};
structure iso8859_5
{
# conversion ISO-5 --> 1251
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #80
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #88
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #90
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', #98
'\160', '¿', 'Ç', 'ü', '¬', '╜', '▓', '»', #a0
'ú', 'è', 'î', 'Ä', 'ì', '¡', 'í', 'Å', #a8
'└', '┴', '┬', '├', '─', '┼', '╞', '╟', #b0
'╚', '╔', '╩', '╦', '╠', '═', '╬', '╧', #b8
'╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫', #c0
'╪', '┘', '┌', '█', '▄', '▌', '▐', '▀', #c8
'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',