home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 April A
/
Pcwk4a98.iso
/
Lotus
/
Notes46
/
LOTUS024.DSK
/
CHARSETS.NCF
< prev
next >
Wrap
Text File
|
1997-07-30
|
9KB
|
181 lines
; Character Set Configuration for Internet Protocols
; This file is used to configure character sets for both input and output
; for the Internet Protocols (Web Navigator, IMAP, POP3, NNTP, etc.).
; Everything below an "EXIT" command is treated as a comment.
EXIT
; The following commands are supported: ALIAS, ATTACHMENT-ENCODING,
; CHARSET-FONT-FACE, CHARSET-FONT-SIZE, DEFAULT-FONT-FACE, DEFAULT-FONT-SIZE,
; DETECT-ORDER, ENCODED-FALLBACK, ENCODING, EXIT, FALLBACK, and LEADBYTE
; For each command, a brief synopsis and example is given. Note that
; these appear below the "EXIT" command above; therefore, these command
; examples will be ignored even though they are not preceded by the
; comment character ";". To use the commands, move them above the EXIT command.
; All commands and parameters are not case sensitive.
; In general, the builtin defaults can be used for most installations.
; For each command that takes a charset-name-or-id parameter, the parameter
; can either be a name, such as iso-8859-1, or the number, in decimal, for the
; character set from the SDK, such as 32 for iso-8859-1
; For each command that takes a encoding-method parameter, the parameter
; can be "quoted-printable", "base64", "7bit", "8bit", or "guess". "guess"
; indicates to analyze the data and use "quoted-printable" or "base64"
; depending on whether the data is composed of primarily US-ASCII characters.
; As an abbreviation, "q", "b", "7", "8", and "g" can be used.
; Commands
; ALIAS <charset-alias> <charset-name-or-id>
; Defines an alias for an existing character set for input. The
; charset-alias must contain only US-ASCII characters.
; This allows recognition of non-standard character set names
; sent by clients.
; If charset-alias begins with an asterisk (*), it is used as the
; name for output too.
; Example: Define alias so that on input the non-standard name "shift_jis"
; will be recognized as being the same character set as the
; predefined standard x-sjis character set.
ALIAS shift_jis x-sjis
; Example: When exporting mail, use name "iso-8859" rather than "iso-8859-1"
ALIAS *iso-8859 iso-8859-1
; ATTACHMENT-ENCODING <encoding-method>
; Specifies the encoding to use when exporting file attachments.
; For this command, only the encoding methods base64, quoted-printable,
; and guess are supported. That is, 7bit and 8bit are not allowed.
; Example: Use base64 encoding when exporting file attachments.
ATTACHMENT-ENCODING b
; CHARSET-FONT-FACE <charset-name-or-id> <face-id>
; Specifies the font face to use when importing data from the designated
; character set. This supersedes the setting done by the DEFAULT-FONT-FACE
; command. This command allows you to use fixed width fonts for some
; character sets and variable width fonts for others.
; Valid values for Face-ID are 0 for Roman, 1 for Swiss, and 4 for Typewriter
; face. The actual font used will depend on the operating system and the
; localization.
; Example: Use a variable width font when importing Thai (cp874).
CHARSET-FONT-FACE cp874 0
; CHARSET-FONT-SIZE <charset-name-or-id> <font-size>
; Specifies the font size to use when importing data from the designated
; character set. This supersedes the setting done by the DEFAULT-FONT-SIZE
; command.
; Valid values are from 4 to 32.
; Example: Use a 12 point font when importing from a Japanese character set.
CHARSET-FONT-SIZE iso-2022-jp 12
CHARSET-FONT-SIZE x-euc-jp 12
CHARSET-FONT-SIZE x-sjis 12
; DEFAULT-FONT-FACE <face-id>
; Specifies the default font face to use when importing data. The default
; font face is used except when superseded by the CHARSET-FONT-FACE command.
; Valid values for Face-ID are 0 for Roman, 1 for Swiss, and 4 for Typewriter
; face. The actual font used will depend on the operating system and the
; localization.
; Example: Use a fixed width typewriter font by default.
DEFAULT-FONT-FACE 4
; DEFAULT-FONT-SIZE <font-size>
; Specifies the default font size to use when importing data. The default
; font size is used except when superseded by the CHARSET-FONT-SIZE command.
; Valid values are from 4 to 32.
; Example: Use a 10 point font by default.
DEFAULT-FONT-SIZE 10
; DETECT-ORDER [optional Country1] [optional Country2]
; [optional Country3] [optional Country4]
; Specifies the order of Asian countries/languages to check when autodetecting
; the character set for incoming data. The default is to not do any
; Asian autodetection unless the country/language is China, Japan, Korea or Taiwan.
; In that case, the local country/language is used.
; Valid country names are CN for China, JP for Japan, KR for Korea, and TW for
; Taiwan.
; Example: Do no Asian autodetection.
DETECT-ORDER
; Example: Try Japanese only
DETECT-ORDER JP
; Example: Try Korean and then Japanese
DETECT-ORDER KR JP
; ENCODED-FALLBACK [optional charset-name-or-id]
; Specifies the character set to use when an incoming encoded word
; (RFC1522/2047) character set is not recognized. No parameter means to just
; leave input as an encoded word. Specifying no encoded fallback (the
; default) allows you to see in the client the originally specified
; character set name that was unrecognize. This gives you an opportunity
; to determine the intended character set and to add an ALIAS for future
; sessions.
; Example: If an unrecognized character set name is detected in an encoded
; word on input, leave it as an encoded word, such as
; =?unknown?q?example?=
ENCODED-FALLBACK
; Example: Assume Big5 character set if character set name is not recognized
ENCODED-FALLBACK big5
; ENCODING <charset-name-or-id> <header encoding-method> [body encoding-method]
; [filename encoding-method]
; Specifies the output encoding to use for a character set under different
; conditions (in the header, in the body, and for filenames in the header).
; If only header encoding method is specified, it is used for all three.
; If two encoding methods are specified, then filename encoding will be
; the same as the header encoding.
; Example: Encode iso-8859-1 using quoted printable
ENCODING iso-8859-1 q
; Example: Encode big5 using 8bit in the header, base64 in the body, and
; 8bit for filenames.
ENCODING Big5 8 b 8
; EXIT
; End configuration file prematurely. Treat everything below this
; command as a comment.
; Example:
EXIT
; FALLBACK <charset-name-or-id> [optional charset-name-or-id]
; Specifies character set to use when incoming data does not have a character
; set specified and when the data can not be identified using autodetection.
; If one parameter is specified, then the specified character set is used.
; If two parameters are specified, then the first is used if the incoming
; data is only 7bit characters and the second is used if it contains 8bit
; characters.
; Example: Use iso-8859-1 for incoming data where the character set cannot
; be determined.
FALLBACK iso-8859-1
; Example: Use iso-8859-1 for 7bit incoming data where the character set cannot
; be determined; EUC-JP for 8bit data
FALLBACK iso-8859-1 euc-jp
; LEADBYTE <leadbyte-number> <header-charset-name-or-id>
; [optional body-charset-name-or-id>
; [optional filename-charset-name-or-id]
; This command is used to determine what character set to use for output
; messages based on the LMBCS text in the document. The leadbyte-parameter
; is the LMBCS lead byte number. Lead byte numbers can be 1-8, 11, 12, or
; 14-31. The commonly used lead bytes are
; 1 = Western European, 2 = Greek, 3 = Hebrew, 4 = Arabic, 5 = Cyrillic,
; 6 = Central European, 7 = Farsi, 8 = Turkish, 11 = Thai, 12 = Urdu,
; 16 = Japanese, 17 = Korean, 18 = Taiwanese, 19 = Chinese.
; By default, except for Korean, the default header character set,
; body character set, and filename character set are the same for a given
; lead byte. For Korean, euc-kr is used for the header and filename and
; iso-2022-kr is used for the body.
; If only the header character set is specified, it is used for all three.
; If two character sets are specified, then the filename character set
; will be the same as the header character set.
; Example: for Japanese characters, use euc-jp in header and filename;
; x-sjis in body
LEADBYTE 16 euc-jp x-jis
; Example: for Western European characters, use iso-8859-1
LEADBYTE 1 iso-8859-1
; End