[fpc-pascal] TListBox bug in LCL of Lazarus?
Vincent Snijders
vsnijders at vodafonevast.nl
Sun Dec 21 19:09:39 CET 2008
Jürgen Hestermann schreef:
>>> I used the Delphi-to-Lazarus convertion for my (Delphi) program. Why
>>> isn't it also converting to UTF-8 if that's necessary?
>> Maybe we should consider removing the convert from the IDE, if it
>> misleads more than helps.
>
> I don't think so, it's better than nothing. The problem is, that there
> are more pitfalls than the conversion routine handles (can handle?).
>
Yes, and until that is fixed, it may be better to remove it, so we don't
get such long threads and to spare you debug time.
> I just converted to UTF-8 but now got problems with constant strings in
> MessageBox calls which require Ansi instead of UTF-8. It's quite awkward
> if different codings are used within one source code file. I would have
> expected that one single encoding (UTF-8?) is used throughout all source
> code and all routines that need a different encoding do the conversion
> themselve. Now each programmer has to learn for each and every routine
> what encoding is used (and that's not even documented within the help
> for these routines).
I think it should be simple: LCL UTF8, RTL Ansi.
Where is this messagebox call defined?
Vicnet
More information about the fpc-pascal
mailing list