[Lazarus] Encoding with SDF dataset

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Wed Nov 4 19:49:54 CET 2015


Marc Santhoff wrote:
> Hi,
> 
> when trying to us a TSdfDataset connected to a TDatasource and a
> TDBGrid, only some unicode symbols are shown (those little squares
> holding four tiny numbers) for string data.
> 
> The data files are encoded iso-8859 but I have found no switch for
> setting the encoding of TDataSource or TSdfDataset. When loading a
> TFileStream is used, but I did not find a property or method for
> changing the encoding on the fly in it, either.
> 
> How can I fix it?

In my limited experience depends critically on the version etc. of the 
OS you're running.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list