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).
Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal