In our previous episode, Jonas Maebe said: > > In current Delphi is String synonym for base type UnicodeString UTF-16 > > AFAIU ATM in FPC is String synonym for AnsiString (as in previos > > versions of Delphi) > > Are there any plans to change meaning of String type ? > > (like Delphi to UnicodeString , or UTF8String?) > > If/when this is done, it will only be with a compiler switch or > directive.
( That won't be enough, since that would not change the relevant units and classes to such type. (e.g. tstringlist would remain defined ansistring) For this to work, we probably will have to split targets into UTF16 and ansi. (and maybe multiple ansi's for some platforms) ) _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel