[Lazarus] ASCII - IBM's (old) extended character set
Paul Nicholls
paulfnicholls at gmail.com
Thu Nov 5 04:25:44 CET 2009
----- Original Message -----
From: "Graeme Geldenhuys" <graeme at mastermaths.co.za>
To: "Lazarus mailing list" <lazarus at lists.lazarus.freepascal.org>
Sent: Thursday, November 05, 2009 1:48 AM
Subject: [Lazarus] ASCII - IBM's (old) extended character set
> Hi,
>
> Does Lazarus have a unicode conversion table for this ASCII character
> set? See url.
>
> http://www.web-wise-wizard.com/programming/ascii-ibm-extended-character-set.html
>
> As you can see from the url, the characters below Char(32) is very
> different to standard ASCII table or the ASCII table with CodePage 437.
>
> I'm reading old binary data files that used the IBM Extended ASCII
> characters in text content. At the moment I simply do a the following to
> replace certain characters. For example, what we know as the standard
> ascii (bell character), was the a bullet character.
>
> s := StringReplace(s, Char(7),'•', [rfReplaceAll, rfIgnoreCase]);
>
>
> Times have changed! I remember those smiley face characters in a old
> pac-man game I used to play. :-)
>
>
> Regards,
> - Graeme -
Hi Graeme,
I don't know if it helps, but the Windows font "Terminal" contains
exactly all those 255 ASCII characters...
cheers,
Paul
More information about the Lazarus
mailing list