----- Original Message ----- From: "Graeme Geldenhuys" <[email protected]>
To: "Lazarus mailing list" <[email protected]>
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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to