[fpc-devel] String and UnicodeString and UTF8String

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Jan 10 13:39:53 CET 2011


On 10 Jan 2011, at 13:33, Marco van de Voort wrote:

> 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)

If it's a D2009-style ansistring, does that matter?


Jonas



More information about the fpc-devel mailing list