[Lazarus] String vs WideString

Michael Schnell mschnell at lumino.de
Tue Aug 15 11:49:24 CEST 2017


On 15.08.2017 11:25, Michael Van Canneyt via Lazarus wrote:
> WideString/UnicodeString for those that want 2-byte characters.
> A codepage-aware single-byte string for those that want 1-byte 
> characters.
> The shortstring is even still available.

IM (often stated) O, this does not help as long as TStrings does not 
without forced auto-conversion support the string type the user is 
inclined to choose.

This obviously requires an (additional) fully dynamic string brand.

This (again obviously) is not the "Embarcadero way", but supposedly does 
not necessarily lead to incompatibility regarding the user code.

-Michael



More information about the Lazarus mailing list