[Lazarus] DOS charset to UTF-8
Graeme Geldenhuys
graemeg.lists at gmail.com
Mon Oct 19 10:23:26 CEST 2009
On 19/10/2009, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> Hi,
>
> How to I convert a file that contains text in the DOS charset to
> UTF-8. I need this to work under Linux and Windows.
>
> The DOS charset characters used, are for box drawing and arrows. They
> currently appear on my system (Linux) as follows:
>
> ÄÄÄstatementÄÄÄÄÄÄÄ
I found the relevant character mapping tables at the Unicode website -
mapping from DOS codepage to unicode characters. The one I am
interested in is CP437 to Unicode.
http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/
Is such mappings already implemented in Lazarus somewhere?
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list