[fpc-pascal] code example where AnsiString used in FCL (SqlDB) causes data loss
Michael Van Canneyt
michael at freepascal.org
Wed May 11 15:27:35 CEST 2016
On Wed, 11 May 2016, Jonas Maebe wrote:
>
> 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.
I am aware of this. We are using lots of DB apps at my work and so I tested this.
The apps work without change.
The biggest problem for going to 3.0.0 is the currency bug.
Michael.
More information about the fpc-pascal
mailing list