[fpc-pascal] FPC vs Delphi's unicode string support questions
Graeme Geldenhuys
graemeg.lists at gmail.com
Sun Aug 19 00:19:30 CEST 2012
On 18 August 2012 21:33, Sven Barth <pascaldragon at googlemail.com> wrote:
> "String" can mean either "ShortString", "AnsiString" or "UnicodeString"
> depending on the compiler settings:
>
> Non-Delphi modes and $H- (default): ShortString
> Delphi mode: AnsiString
> DelphiUnicode mode: UnicodeString
> Non-Delphi modes and $H+: AnsiString
> Non-Delphi modes and $H- and modeswitch "unicodestrings": (AFAIK)
> ShortString
> Non—Delphi modes and $H+ and modeswitch "unicodestrings": UnicodeString
@Michael van Canneyt
Now there is a good table to add to the Lang Ref or some other FPC
documentation.
[...thinking out loudly...]
Oh how I yearn for the Java string handling simplicity - compared to
the mess Delphi and FPC is in.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
More information about the fpc-pascal
mailing list