The RPL character set is an 8-bit character set and encoding used by most RPLcalculators manufactured by Hewlett-Packard as well as by the HP 82240B thermal printer.[1][2] It is sometimes referred to simply as "ECMA-94" in documentation,[1][3] although it is for the most part a superset of ISO/IEC 8859-1 / ECMA-94 in terms of printable characters, and it differs from ISO/IEC 8859-1 by using displayable characters rather than control characters in the 0x80 to 0x9F range of code points.
Overview
In 1986,[3] the original series of RPL calculators (HP-28 series) as well as the HP 82240A thermal printer used a modified variant of the HP Roman-8 character set, of which characters above 147 could not be displayed on the calculator, only be printed.[4][5][6]
In a parallel development, the HP 38G also used the HP 48 series' character set internally. Starting with the HP 39G in 2000, the superscript 3 (³) at code point 179 (0xB3) was replaced by a superscript -1 (−1) in the HP 39/40 series (except for the HP 39gII, which started to use Unicode).[13] Code point 160 (0xA0) was also changed to the euro sign (€)[13] in this third variant of the character set. The last calculator supporting this variant of the character set was the HP 40gs introduced in 2006 and discontinued around 2011.
Hewlett-Packard never defined an official Unicode translation, hence several variants evolved in the community, differing in code points 31 (0x1F), 127 (0x7F), 128 (0x80), 129 (0x81), 133 (0x85), 134 (0x86), 158 (0x9E), 160 (0xA0), 169 (0xA9), 174 (0xAE), 178 (0xB3), 181 (0xB5) and 223 (0xDF).[14][15][16][17][18][19][20]
The fact that the Unicode equivalent for x-bar at code point 129 (0x81) is a combination of two characters (x̅) could cause problems in translations, therefore it was suggested to use U+0101 (ā) instead.[18][19][20]
Characters which cannot be reasonably transcoded should be mapped to code point 127 (0x7F), similar to what the calculators do when communicating with older printers like the HP 82240A.[21][8]
Since the calculators allow fonts to be redefined (using FONT→, →FONT, MINIFONT→, →MINIFONT) other codepages can be emulated for as long as symbols which are available on the keyboard or are otherwise associated with specific functionality by the calculator aren't replaced by unrelated symbols.
Code page layout
The following table shows the HP RPL character set. Each character is shown with a potential Unicode equivalent in the tooltip. Where special HP TIO codes are defined to enter the character, they are given as well.[2][22][7][8][23] The other characters can be entered using the \nnn TIO code syntax with nnn being a three-digit decimal number.[2][7][8][23]
^HP 82240A Infrared Printer(PDF) (2 ed.). Corvallis, OR, USA: Hewlett Packard, Portable Computer Division. October 1986. HP reorder number 82240-90001 (82240-90008). Archived(PDF) from the original on 2016-08-06. Retrieved 2016-08-06.
^Nungester, Rick (1988-08-18). "Infra-Red output converter". Luc Pauwels (published 2006-10-24). Archived from the original on 2016-08-06. Retrieved 2016-08-06.
^ abPaul, Matthias R. (2001-05-08). "Re: HP48: algebraic mode?". Newsgroup: comp.sys.hp48. Archived from the original on 2024-03-17. Retrieved 2024-03-17. […] There is an endless lists of things on the plus side, but only very few things, I miss in or don't like about the HP48G(X). […] no Euro currency in the symbol set - I once suggested to add this at code point 160 (Anyway, it is very excuseable, as the symbol was not defined before 1997) […]
^ abDreher, Chris (2013-01-16). "Mapping HP48 Text to Unicode". HP Articles Forum. The Museum of HP Calculators (MoHPC). Archived from the original on 2016-08-01. Retrieved 2016-08-01.
^ abBouget, Jean-Charles; Lapilli, Claudio Daniel (2016-06-15) [2015]. "Font8_StyleA.txt". newRPL (Alpha ed.). Archived from the original on 2016-08-08. Retrieved 2016-08-08.
^Prange, James M. (2002-06-04). "Re: Printers". HP Forum Archive 08. The Museum of HP Calculators (MoHPC). Archived from the original on 2016-08-06. Retrieved 2016-08-02.
^ abFinseth, Craig A. (2012-02-25). "chars". Archived from the original on 2017-12-21. Retrieved 2017-12-21.
Further reading
"HP-48 Kermit Hints and Tips". The Kermit Project, Columbia University. 2011-07-22 [1999-05-04]. Archived from the original on 2016-08-01. Retrieved 2016-08-01.