[Lazarus] String vs WideString
Michael Schnell
mschnell at lumino.de
Thu Aug 17 14:35:58 CEST 2017
On 17.08.2017 12:41, Tony Whyman via Lazarus wrote:
>
> UCS-2 differs from UTF-16 by being a constant length encoding and only
> capable of encoding characters of BMP, it is supported by many programs."
Rather obviously Embarcadero primarily had UCS-2 in mind as they created
the "Unicode aware" Delphi. While it in fact does support full Unicode,
keeping MyChar:=MyString[i] in place suggests to presume UCS-2 coded
text for "unaware" programmers.
-Michael
More information about the Lazarus
mailing list