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

Mattias Gaertner nc-gaertnma at netcologne.de
Tue May 15 10:51:21 CEST 2012

On Tue, 15 May 2012 10:43:19 +0200
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:

> Olivier Sannier wrote on Tue, 15 May 2012:
> > Is there a way to force the string type to be an alias to  
> > UnicodeString instead of AnsiString as it is by default?
> 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?


More information about the fpc-pascal mailing list