[Lazarus] String vs WideString
Michael Schnell
mschnell at lumino.de
Wed Aug 16 10:47:37 CEST 2017
On 15.08.2017 19:29, Luca Olivetti via Lazarus wrote:
> I has worked extremely well and reliably until fpc 2.6.4 (i.e. with
> string=ansistring).
> Does it not work in 3.x?
I understand that storing uncoded Bytes in UTF8-Strings (hence in fpc)
works as good as it always had, as long as all strings are defined with
the same code branding as TSrings (and friends) is (i.e. UTF8), because
there never will be a conversion.
But it does not work in Delphi, as here TStrings is defined to be UTF-16.
-Michael
More information about the Lazarus
mailing list