[fpc-pascal] code example where AnsiString used in FCL (SqlDB) causes data loss
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed May 11 15:16:18 CEST 2016
Michael Van Canneyt wrote on Wed, 11 May 2016:
> On Wed, 11 May 2016, Graeme Geldenhuys wrote:
>
>> If anybody has the time, I would really like to learn how. Using FPC
>> 3.x. Running the example program in a Latin-1 [console] environment and
>> still get the correct data stored in the output.data file. I can't see a
>> solution until SqlDB is changed.
>
> There is none satisfactory.
While not 100% satisfactory, doing exactly the same as in FPC 2.6.x
will give you exactly the same as you got there.
Jonas
More information about the fpc-pascal
mailing list