[fpc-pascal] Setting string to be UnicodeString by default

Tomas Hajny XHajT03 at hajny.biz
Tue May 15 15:19:50 CEST 2012


On Tue, May 15, 2012 15:10, Marcos Douglas wrote:
> On Tue, May 15, 2012 at 6:16 AM, Jonas Maebe <jonas.maebe at elis.ugent.be>
> wrote:
>> Mattias Gaertner wrote on Tue, 15 May 2012:
>>> On Tue, 15 May 2012 10:43:19 +0200
>>> Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>>>
>>>> It is not possible in FPC 2.6.x. Wth the svn trunk version, you can
>>>> use {$modeswitch unicodestrings} (in combination with {$h+}), or even
>>>> better {$mode delphiunicode} (which also enable other modeswitches
>>>> that have been implemented for Delphi2009+ compatibility).
>>>
>>>
>>> Is this new mode only a temporary experiment or will it stay?
>>
>>
>> It will stay afaik, although the effects may still change to better
>> match
>> Delphi2009+ compatibility if required.
>
> I would like to understand why Delphi compatibility is so important to
> FPC and Lazarus.

In that case I suggest asking on the fpc-other list.

Tomas





More information about the fpc-pascal mailing list