Post by o***@mindspring.comPost by j***@gmail.comTry using UTF-8 encoding instead.
I actually tried a bunch of encodings, including that one (which
gives the message "The UTF-8 file “tidstr.txt” is damaged or
incorrectly formed; please proceed with caution."). Here tidstr.txt
is the result of using ->STR on a directory and then using the
emulator's WLAN support to transfer it. I tried the following
encodings (which were all that were available and not obviously
useless such as Chinese): Western (ISO Latin 1) Western (ISO Latin
9) Western (Mac OS Roman) Western (Windows Latin 1) I suspect that I
need to actually do some kind of conversion similar to what is done
by the Kermit or other serial servers, but do it all internal to the
emulator, not while transmitting over a serial connection. Are you
aware of any function to do this?
UTF-8 isn't going to work because the calc doesn't support it. :-(
The 48/49/50 series use ISO-8859-1 encoding, the mapping for which is
shown in Appendix J of the Advanced User's Reference Manual.
<http://h10032.www1.hp.com/ctg/Manual/c02836298>
The presence of the emulator complicates things because the emulator may
well be UTF-8 compliant and /may/ do the conversion automatically when
you do a cut and paste etc. TBH I can't remember - its been a while
since I used it.
You can do your own conversion to Unicode/UTF-8 - there's a useful guide
here.
<http://www.drehersoft.com/mapping-hp48-text-to-unicode/>
As you note, the Kermit engine does convert the calc's internal
character set into a plain ASCII format using escape sequences. These
are also listed in appendix J, and the degree of translation is subject
to the IOPAR variable and the TRANSIO command.
The actual translation routine used by Kermit is not made available as a
userRPL command but can be accessed via a SYSEVAL. Unfortunately I can
only find programs for the 48 & 49. You'll need to find a table of
SYSEVAL mappings and see what the equivalent on the 50G is in order to
make use of these. (This is left as an exercise for the reader.) :-)
<https://groups.google.com/forum/#!msg/comp.sys.hp48/tJXI-NdnuHM/uGmz4j7M6VIJ>
HTH
--
Bruce Horrocks
Surrey
England
(bruce at scorecrow dot com)