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
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus