EPUB | CHM | PDF

TMySQLDataSet.Methods.Translate

Top Previous Next

Converts a data string between the ANSI character set used by Delphi (and Windows), and the local code page (OEM character set).

Syntax:

procedure Translate(Src, Dest: PChar; ToOem: Boolean); override;

Description:

When the ToOem parameter is True, Translate converts the source string from the ANSI character set to the OEM character set. If ToOem is False, Translate converts the source string from the OEM character set to the ANSI character set.

Before translation DAC for MySQL components compare code page on server with the client one automatically.