Conversion Algorithm [ MPE XL Native Language Programmer's Guide ] MPE/iX 5.0 Documentation
MPE XL Native Language Programmer's Guide
Conversion Algorithm
The conversion utilities convert records or fields from files that are
assumed to have been created at an HP 262X terminal configured for 7-bit
operation and for a language other than USASCII. The conversion from the
HP 262X implementation of a European 7-bit substitution character set to
the 8-bit ROMAN8 character set. This involves converting the values of
certain characters stored in the file. Before conversion, the file
should look correct on an HP 262X terminal configured for 7-bit operation
with the appropriate substitution set. After conversion the file will
look correct on any terminal configured for 8-bit operation.
Records and/or fields from files of all types are converted using the
same algorithm. The conversion affects only the 12 characters shown in
Table D-2 (all other characters remain unchanged). There are two rows of
information opposite each national substitution set listed in Table D-2:
* The upper row indicates the graphic assigned in 7-bit operation.
* The lower row indicates the decimal value assigned the graphic in
ROMAN8 after using the conversion algorithm.
Table D-2. Character Conversion Decimal Values
Table D-3 shows the special character conversion for specified FRANCAIS M
and ESPANOL M characters. If these characters are followed immediately
by certain characters, the two-character combination is converted to a
single ROMAN8 character, and the field or record being converted is
padded at the end with a blank.
Table D-3. Special Character Conversion
NOTE If these characters are followed by any other character, they are
converted to their ROMAN8 equivalent as shown in Table D-2.
MPE/iX 5.0 Documentation