Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-03

Conversion from/to ISO-8859-1 to default charset

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Roland Turcan

Hello,

I have own proprietary database engine inside which is designed for ISO-8859-1 charset and to keep platform independence I would like to keep it in ISO-8859-1.
Because of default charset in Lazarus is UTF-8 I need to convert from/to ISO-8859-1 before I write/read from/to database.

Where can I find function which converts ISO-8859-1 to default charset and back?
I want to use function which will be dynamic for the future, when default charset changes to different one and it will change to ISO-8859-1 automatically without any interaction into the code.

Thanks.

Reply by email