[fpc-pascal] TListBox bug in LCL of Lazarus?

Vincent Snijders vsnijders at vodafonevast.nl
Mon Dec 22 06:38:24 CET 2008

J├╝rgen Hestermann schreef:
>> Well, they cannot put the blaim on the Lazarus converter, but only on 
>> their own ignorance with respect to porting to Lazarus. 
> Why ignorance? I remember someone asking here how to learn programming 
> with FPC/Lazarus and someone else answered that each Delphi learning 
> book would do. How does that fit together when such huge differences 
> between Lazarus and Delphi exist?

I am glad I did not give that advice.

>> I have a feeling that the conversion tool is bad publicity for Lazarus 
>> that it gives people a false feeling of easy conversion. Lazarus 
>> should avoid giving this impression.
> A much better way would be to improve the converter in that it gives 
> hints about the different coding of strings. This would be enough.

Yes, that would be great. Can we expect some improvements (patches) from 
you soon. Until now, very few people have contributed to it. Improving 
it would be nice, but people who have Delphi code rather stay with 
Delphi, and that might not be unwise.

>>> The main problem realy is, that (some!) stings are completely omitted 
>>> when they are Ansi where UTF-8 is needed. 
>> Yes, garbage in garbage out.
> Why "garbage"? A correct and running Delphi program was converted to 
> Lazarus with the converter, how can it be garbage?

You feed ansi encoded strings where UTF-8 is needed. That is garbage. 
Don't trust the converter too much.


More information about the fpc-pascal mailing list