[fpc-pascal] Generic String Functions
Michael Schnell
mschnell at lumino.de
Fri Feb 28 15:51:22 CET 2014
On 02/28/2014 03:37 PM, Marco van de Voort wrote:
> Fixing that in Lazarus is easier than implementing your case in the
> compiler.
Maybe. (Mseide shows how this can be done even without "New Delphi
Strings").
But in many discussions I learned that the Lazarus team is not at all
happy with the idea to do a UTF16 LCL (API).
And IMHO a versatile compiler and RTL should be able to handle any
string encoding type (that is offered to be defined) decently and not
(like Delphi) to allow for defining a - say - UTF8 or "European 8 Bit
ANSI" String and not provide the normal RTL functions in a way that
allows for using it in a fast program.
If multiple string types are available the user programmer should be
free in choosing any of them according to the task at hand.
-Michael
More information about the fpc-pascal
mailing list