HPlogo MPE XL Native Language Programmer's Guide: 900 Series HP 3000 Computer Systems > Appendix C EBCDIC Mapping

ROMAN8 to EBCDIC Mapping

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

In mapping from ROMAN8 to EBCDIC, characters look the same, or as close as possible, before and after conversion. The majority of the symbols appearing in ROMAN8 also exist in the EBCDIC country extended code pages. In ROMAN8, there are nine characters that have no similar EBCDIC character and six undefined characters. Since there are no undefined characters in the EBCDIC country extended code pages, 15 characters in EBCDIC have no look-alikes in ROMAN8. For these characters a one-to-one mapping has been defined as shown in Table C-1 ROMAN8 to EBCDIC Mapping.

Table C-1 ROMAN8 to EBCDIC Mapping

Decimal Octal Hex   ROMAN8   EBCDIC
169 251 A9 ' Grave accent | Logical OR
170 252 AA ^ Circumflex accent ¬ Logical NOT
172 254 AC ~ Tilde accent 2 Superscript 2
175 257 AF £ Italian lira sign 3 Superscript 3
177 261 B1   Undefined μ MU character
178 262 B2   Undefined = Double underline
235 353 EB Š Uppercase S caron Ý Uppercase Y acute
236 354 EC š Lowercase s caron ý Lowercase y acute
238 356 EE Ÿ Uppercase Y umlaut ι Lowercase i without dot
242 362 F2   Undefined [flat] Cedilla
243 363 F3   Undefined Paragraph sign
244 364 F4   Undefined ® Registered sign
245 365 F5   Undefined ¾ Three quarters
246 366 F6 Long dash SHY Syllable hyphen
252 374 FC [squf] Solid Middle dot

The mapping to and from EBCDIC for the KANA8 character set is defined by Japanese Industrial Standards (JIS) and IBM.

In all languages, the character mappings defined and implemented are any character mapped from any Hewlett-Packard 8-bit character set to EBCDIC and then back again, or vice versa, will result in the original character value. A complete listing of the Hewlett-Packard 8-bit character set to EBCDIC mappings, and vice versa, can be obtained by running the NLUTIL utility. (Refer to the MPE XL System Utilities Reference Manual (32650-90081).)

The mappings can be made available to a program by using NLINFO item=13 or 14. The mappings are used by the NLTRANSLATE intrinsic, which performs the Hewlett-Packard 8-bit to EBCDIC translation or the reverse. The CTRANSLATE intrinsic maps USASCII or JISCII to EBCDIC (and vice versa). For the languages NATIVE-3000 and KATAKANA, there is no difference between the mappings produced by NLTRANSLATE and CTRANSLATE.