[fpc-devel] new string - question on usage

Michael Schnell mschnell at lumino.de
Tue Oct 11 10:02:34 CEST 2011


On 10/11/2011 09:17 AM, Hans-Peter Diettrich wrote:
>
> IMO Lazarus (and FPC) should follow the Delphi way, with strictly 
> separate Unicode and pre-Unicode versions. Nobody can expect that new 
> VCL (Unicode) components can be back-ported to Ansi versions.
>
As right now the current (Unicode aware) LCL version (forcing UTF-8 code 
in type ANSIString variables and with this provides some problems that 
the pre-Unicode version did not show) this already has been done.

So the move to "new strings" would be the move to _another_ Unicode 
awareness, that - regarding the legacy user code - hopefully could be 
even more compatible to the long gone pre-Unicode version.

-Michael



More information about the fpc-devel mailing list