|Latin based coded character sets for telematic services|
|Committee||Study Group VIII|
|Related standards||T.61, ETS 300 706, ISO/IEC 10367, ISO/IEC 2022, ISO 5426|
T.51 / ISO/IEC 6937:2001, Information technology — Coded graphic character set for text communication — Latin alphabet, is a multibyte extension of ASCII, or more precisely ISO/IEC 646-IRV. It was developed in common with ITU-T (then CCITT) for telematic services under the name of T.51, and first became an ISO standard in 1983. Certain byte codes are used as lead bytes for letters with diacritics (accents). The value of the lead byte often indicates which diacritic that the letter has, and the follow byte then has the ASCII-value for the letter that the diacritic is on.
ISO6937/2 defines 327 characters found in modern European languages using the Latin alphabet. Non-Latin European characters, such as Cyrillic and Greek, are not included in the standard. Also, some diacritics used with the Latin alphabet like the Romanian comma are not included, using cedilla instead as no distinction between cedilla and comma below was made at the time.
IANA has registered the charset names ISO_6937-2-25 and ISO_6937-2-add for two (older) versions of this standard (plus control codes). But in practice this character encoding is unused on the Internet.
Single byte characters
The primary set (first half) originally followed ISO 646-IRV before the ISO/IEC 646:1991 revision, that is, mostly following ASCII but with character 0x24 still denoted as an "international currency sign" (¤) instead of the dollar sign ($). The 1992 edition of ITU T.51 permits existing CCITT services to continue to interpret 0x24 as the international currency sign, but stipulates that new telecommunication applications should use it for the dollar sign (i.e. following the current ISO 646-IRV), and instead represent the international currency sign using the supplementary set.
The supplementary set (second half) contains a selection of spacing and non-spacing graphic characters, additional symbols and some locations reserved for future standardisation.
Both of these are ISO/IEC 2022 graphical character sets, with the primary set being a 94-code set and the secondary set being a 96-code set. In contexts where ISO 2022 code extension techniques are not in use, the primary set is designated as the G0 set and invoked over GL (0x20..0x7F), whereas the supplementary set is designated as the G2 set and invoked over GR (0xA0..0xFF) in an 8-bit environment, or by using the control code 0x19 as a single-shift in a 7-bit environment. This encoding of the Single Shift Two code matches its location in ISO-IR-106.
The ISO/IEC 2022 escape sequence to designate the supplementary set of ISO/IEC 6937 as the G2 set is
ESC . R (hex
1B 2E 52). The older ISO 6937/2:1983 supplementary set is registered as a 94-code set, and designated to G2 with
ESC * l (hex
1B 2A 6C).
Two byte characters
Accented letters which are not allocated single codes in the primary or supplementary set are coded using two bytes. The first byte, the "non spacing diacritical mark", is followed by a letter from the base set e.g.:
small e with acute accent (é) = [Acute]+e
The ITU T.51 standard allocates column 4 of the supplementary set (i.e. 0xC0–CF when used in 8-bit format) to non-spacing diacritic characters. However, ISO/IEC 6937 defines a fully specified character repertoire, mapping a list of composition sequences to ISO/IEC 10646 character names. The isolated nonspacing bytes are not included in this repertoire, although spacing variants of the diacritics not otherwise present in ASCII are included, with the ASCII space being the trail byte. Hence, only certain combinations of lead byte and follow byte conform to the ISO/IEC standard.
This repertoire is also affixed to the ITU version of the specification as Annex A, although the ITU version does not reference it from the main text. It is described as a "unified superset" of the Latin-script character repertoires. It corresponds to the repertoire of ISO/IEC 10367 when the ASCII, Latin-1 (or Latin-5), Latin-2 and supplementary Latin sets are used.
A little anomaly is that Latin Small Letter G with Cedilla is coded as if it were with an acute accent, that is, with a 0xC2 lead byte, since due to its descender interfering with a cedilla, the lowercase letter is usually with turned comma above: Ģ ģ.
In total 13 diacritical marks can be followed by the selected characters from the primary set:
|Umlaut or diæresis||0xC8||AEIOUYaeiouy||ÄËÏÖÜŸäëïöüÿ|
The reference to combining characters in the U+0300—U+036F range for the codes in the range 0xC1—0xCF below is subject to the caveats mentioned above; they cannot simply be mapped to the codepoints listed. Also, Unicode distinguishes 0xE2 into uppercase D with stroke and uppercase Eth, which usually look different for the lowercase letters (0xF2 and 0xF3).
The older 1988 edition of ITU T.51 defined two versions of the supplementary set, with the first version lacking the non-breaking space, soft hyphen, not sign (¬) and broken bar (¦) present in the second version. The first version was defined as an extension of the T.61 supplementary set, and the second version as an extension of the first version. The current (1992) edition only includes the second version, deprecates certain characters, and updates the primary set to the current ISO-646-IRV (ASCII), although existing telematic services are permitted to retain the older behaviour.
|ISO/IEC 6937 or ITU T.51 (Latin)|
The versions of the supplementary set used by the ITU T.101 standard for Videotex are based on the first supplementary set of the 1988 edition of T.51.
ETS 300 706 version
The ETS 300 706 standard for World System Teletext bases its G2 set on ISO 6937. It is a superset of the supplementary set of T.61, and a superset of the first supplementary set of the 1988 edition of T.51, but collides with the current edition of T.51 in certain positions. Diacritic codes in the ETS version are specified as being "for association with" characters from the G0 set in use, such as US-ASCII or BS_viewdata. This version is shown in the chart below.
|World System Teletext, Latin G2 Set (ETS 300 706:1997)|
- Continued use for ¤ permitted for existing CCITT services only.
- Permitted for existing CCITT services only, otherwise the ASCII representation should be used.
- Noted in the ITU version of the standard as having existing use for underlined text, in combination with any other character including accented characters. Although the 1988 ITU edition includes this code, the 1992 ITU edition discourages sending this code in favour of ANSI escape sequences, although it does mention that it should be correctly interpreted when received by applicable systems. Previous editions of the ISO/IEC version of the standard also allowed combining this code with any character in the defined repertoire, whereas more recent revisions do not include this code.
- An early draft placed ȷ in this position.
- "T.51 : Latin based coded character sets for telematic services". www.itu.int. Archived from the original on 2019-10-08. Retrieved 2019-11-14.
- CCITT (1992-09-18). Latin based coded character sets for telematic services (1992 ed.). Recommendation T.51.
- ITU-T (1995-08-11). Recommendation T.51 (1992) Amendment 1.
- ITU (1985-08-01). Teletex Primary Set of Control Functions (PDF). ITSCJ/IPSJ. ISO-IR-106.
- ISO/IEC JTC 1/SC 2/WG 3 (1998-04-15). WD 6937, Coded graphic character set for text communication - Latin alphabet (PDF). JTC1/SC2/N454.
- ISO/IEC JTC 1/SC 2/WG 3 (1991-12-15). Supplementary Set of ISO/IEC 6937:1992 (PDF). ITSCJ/IPSJ. ISO-IR-156. (The left-hand side is US-ASCII.)
- ISO/TC97/SC2/WG4 (1985-01-10). Supplementary Set of Latin Alphabetic and non-Alphabetic Graphic Characters (PDF). ITSCJ/IPSJ. ISO-IR-90.
- Petersen, J. K. (2002-05-29). The Telecommunications Illustrated Dictionary. CRC Press. p. 888. ISBN 978-1-4200-4067-8.
- CCITT (1988). Coded character sets for telematic services (1988 ed.). Recommendation T.51.
- CCITT (1988-11-01). Supplementary Set of Graphic Characters for Videotex (PDF). ITSCJ/IPSJ. ISO-IR-70.
- CCITT (1986-11-30). Supplementary Set of Graphic Characters for CCITT Recommendation T.101, Data Syntax III (PDF). ITSCJ/IPSJ. ISO-IR-128.
- ETSI (1997). "15.6.3 Latin G2 Set". Enhanced Teletext specification (PDF) (PDF). p. 116. ETS 300 706.
- ITU Recommendation T.51
- ISO pages: ISO 6937-1:1983, ISO 6937-2:1983, ISO 6937-2:1983/Add 1:1989, ISO/IEC 6937:1994, ISO/IEC 6937:2001
- WD 6937, Coded graphic character set for text communication - Latin alphabet (Revision of ISO/IEC 6937:1994) (ISO/IEC 6937:1994 draft)
- ISO-IR-156 (ISO-IR registration of right-hand part)