Download AlphaBASIC PLUS User`s Manual

Transcript
APPENDIX F
CHARACTER SETS
AMOS uses a single-byte character set. Such a character set can represent 256 different
characters. The character set is aligned with a number of international standards.
F.1 A SHORT HISTORY OF CHARACTER SETS
The first international standard was set in 1965 by ECMA (European Computer
Manufacturer’s Association) and was known as ECMA-6. The character set was
adopted by other standards bodies, and is also known as US-ASCII, DIN 66003, and
ISO 646. The standard only defined a basic alphabet, and did not allow for national
characters in use in many European countries. Such characters were incorporated by
specifying twelve code points (see Note 1 in the table below) as being places where
replacement characters could be defined. For example, Germany defined the letter Ä at
code point 91, where the [ character was located. These character sets were called the
“national ISO 646 variants”. Portability of files containing such characters were low.
In 1981, the IBM PC introduced an 8-bit character set with Code Page 437, a character
set with many special characters. In 1982 DEC MCS (Multi Language Character Set)
was released. This character set was very similar to ISO 6937/2, which in turn is almost
identical to the modern standard for 8-bit character sets, ISO 8859. In 1985 ECMA
standardized ECMA-94, which dealt with almost all European languages. ECMA-94
was taken up by ISO, as ISO 8859-1 through 8859-4, and standardized in 1987.
Microsoft released MS-DOS 3.3 in 1987, which used Code Page 850. This code page
uses all the characters from ISO 8859-1, plus a few extra at code points representing
the non-printing characters. A second code page, Code Page 819, is fully ISO 8859-1
compliant.
F.1.1 The ISO 8859 Family of Standards and AMOS
The ISO 8859-x character sets are designed for maximum interoperability and
portability. All of them are a superset of US-ASCII and will render English text properly.
The code points 0xA0 through 0xFF are used to represent national characters, while
the characters in the range 0x20 through 0x7F are the same as in the ISO 646 (USASCII) character set. Thus ASCII text is a subset of all ISO 8859 character sets, and
will be rendered properly by them. The code points 0x80 through 0x9F are earmarked
as extended control characters and are not used for encoding characters.
The ISO 8859 family of standards consists of:
AlphaBASIC PLUS User’s Manual, Rev. 02