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 -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to