Videotex character set
The character sets used by Videotex are based, to greater or lesser extents, on ISO/IEC 2022. Three Data Syntax systems are defined by ITU T.101, corresponding to the Videotex systems of different countries.
Data Syntax 1
Data Syntax 1 is defined in Annex B of T.101:1994. It is based on the CAPTAIN system used in Japan. Its graphical sets include JIS X 0201 and JIS X 0208.The following G-sets are available through ISO/IEC 2022-based designation escapes:
Name | G-set escape type | byte | ISO-IR for byte |
Primary Character set | Single byte 94-code | 0x4A | ISO-IR-14 |
Katakana Character set | Single byte 94-code | 0x49 | ISO-IR-13 |
Mosaic I set | Single byte 94-code | 0x33 | ' |
Mosaic II set | Single byte 94-code | 0x63 | ISO-IR-71 |
Display Control set | Single byte 96-code | 0x38 | ' |
PDI set | Single byte 96-code | 0x57 | ' |
MVI set | Single byte 96-code | 0x39 | ' |
Kanji set | Multiple byte 94n-code | 0x42 | ISO-IR-87 |
Macro set | Single byte DRCS 96-code | 0x40 | ' |
DRCS I set | Single byte DRCS 94-code | 0x41 | ' |
DRCS II set | Multiple byte DRCS 94n-code | 0x40 |
Mosaic sets for Data Syntax 1
The mosaic sets supply characters for use in semigraphics.� Not in Unicode
Data Syntax 2
Data Syntax 2 is defined in Annex C of T.101:1994. It corresponds to some European Videotex systems such as CEPT T/CD 06-01. The graphical character coding of Data Syntax 2 is based on T.51.The default G2 set of Data Syntax 2 is based on an older version of T.51, lacking the non-breaking space, soft hyphen, not sign and broken bar present in the current version, but adding a dialytika tonos at the beginning of the row of diacritical marks for combination with codes from a Greek primary set. An umlaut diacritic code distinct from the diaeresis code, as included in some versions of T.61, is also sometimes included.
The default G1 set is the second mosaic set, corresponding roughly to the second mosaic set of Data Syntax 1. The default G3 set is the third mosaic set, matching the first mosaic set of Data Syntax 1 for 0x60 through 0x6D and 0x70 through 0x7D, and otherwise differing. The first mosaic set matches the second except for 0x40 through 0x5E: 0x40 through 0x5A follow ASCII, whereas the remainder are national variant characters; the displaced full block is placed at 0x7F.
- Representation of 0x5B-5E is not guaranteed in international communication and may be replaced by national application oriented variants.
- 0x5F may be displayed either as ⌗ or _ to represent the terminator function required by Videotex services.
Data Syntax 3
The supplementary set for Data Syntax 3 is based on an older version of T.51, lacking the non-breaking space, soft hyphen, not sign and broken bar present in the current version, and allocating non-spacing marks for the overline and solidus and several semigraphic characters to unallocated space in that set.
See the comments in the T.51 article for caveats about the combining mark Unicode mappings shown below. Unlike Unicode combining characters, T.51 diacritic codes precede the base character.
C0 control codes
for Videotex differ from ASCII as shown in the table below. The,, , and codes are also available in some or all data syntaxes, but without change in name or semantic from ASCII.Seq | Dec | Hex | Replaced | Syntaxes | Acronym | Name | Description |
^H | 08 | 08 | BS | 1, 2, 3 | APB | Active Position Backward | Moves cursor one position backward. If it is at the start of the line, moves it to the end of the line and back one line. This retains one possible semantic of the ASCII. |
^I | 09 | 09 | HT | 1, 2, 3 | APF | Active Position Forward | Moves cursor one position forward. If it is at the end of the line, moves it to the start of the line and forward one line. |
^J | 10 | 0A | LF | 1, 2, 3 | APD | Active Position Down | Moves cursor one line forward. If it is at the last line of the screen, moves it to the first line unless Data Syntax 3 scroll mode is active. This retains one possible semantic of the ASCII. |
^K | 11 | 0B | VT | 1, 2, 3 | APU | Active Position Up | Moves cursor one line backward. If it is at the first line of the screen, moves it to the last line unless Data Syntax 3 scroll mode is active. |
^L | 12 | 0C | FF | 1, 2, 3 | CS | Clear Screen | Resets entire display to spaces with default display attributes and returns the cursor to its initial position. In Data Syntax 1, also resets macros and DRCS. This retains one possible semantic of the ASCII. |
^M | 13 | 0D | CR | 1, 2, 3 | APR | Active Position Return | Moves the cursor to the start of the line. In Data Syntax 3, may instead move it to the start of the active field if it is entirely within it. This retains one possible semantic of the ASCII. |
^Q | 17 | 11 | DC1/XON | 2 | CON | Cursor On | Makes the cursor visible. |
^R | 18 | 12 | DC2 | 2 | RPT | Repeat | Repeats the immediately preceding graphic character a number of times indicated by the low six bits of the following byte. |
^T | 20 | 14 | DC4 | 1 | KMC | Key-In-Monitor Conceal | Takes one parameter: 0x40 makes the key-in-monitor area unconcealed, 0x41 makes it concealed. |
^T | 20 | 14 | DC4 | 2 | COF | Cursor Off | Makes the cursor invisible. |
^X | 24 | 18 | CAN | 1, 2, 3 | CAN | Cancel | In Data Syntax 2, fill the rest of the current line with spaces. In Data Syntax 1 and 3, immediately stop all running macros. Contrast the semantic of basic ASCII. |
^Y | 25 | 19 | EM | 1, 2, 3 | SS2 | Single Shift Two | . |
^Z | 26 | 1A | SUB | 3 | SDC | Service Delimitor Character | Implementation-defined but non-presentational. |
^\ | 28 | 1C | FS | 1, 3 | APS | Active Position Set | Followed by two bytes respectively giving a row and column address in their low six bits. Compare and. |
^] | 29 | 1D | GS | 1, 2, 3 | SS3 | Single Shift Three | . |
^^ | 30 | 1E | RS | 1, 2, 3 | APH | Active Position Home | Returns cursor to the initial position. |
^_ | 31 | 1F | US | 1, 3 | NSR | Non-Selective Reset | Resets all display attributes, then moves the cursor to a specified position. Followed by two bytes respectively giving a row and column address in their low six bits. Compare. |
^_ | 31 | 1F | US | 2 | APA | Active Position Address | Followed by two or four bytes giving a row and column address in their low six bits. Four bytes are used if there are more than 63 rows and columns, with the most significant six bits being first for each parameter. Compare and. If the following byte is not in the range of 0x40 to 0x7F, indicates a switch to another coding scheme. |