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

2012-05-15 Thread Marcos Douglas
On Tue, May 15, 2012 at 10:19 AM, Tomas Hajny wrote: > In that case I suggest asking on the fpc-other list. * On Tue, May 15, 2012 at 10:21 AM, Jonas Maebe wrote: > Please hold that discussion on the fpc-other mailing list instead. This list > is for getting help with using and programming in c

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

2012-05-15 Thread Jonas Maebe
Marcos Douglas wrote on Tue, 15 May 2012: I would like to understand why Delphi compatibility is so important to FPC and Lazarus. Please hold that discussion on the fpc-other mailing list instead. This list is for getting help with using and programming in current FPC versions, and discus

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

2012-05-15 Thread Tomas Hajny
On Tue, May 15, 2012 15:10, Marcos Douglas wrote: > On Tue, May 15, 2012 at 6:16 AM, Jonas Maebe > wrote: >> Mattias Gaertner wrote on Tue, 15 May 2012: >>> On Tue, 15 May 2012 10:43:19 +0200 >>> Jonas Maebe wrote: >>> It is not possible in FPC 2.6.x. Wth the svn trunk version, you can

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

2012-05-15 Thread OBones
Marcos Douglas wrote: On Tue, May 15, 2012 at 6:16 AM, Jonas Maebe wrote: Mattias Gaertner wrote on Tue, 15 May 2012: On Tue, 15 May 2012 10:43:19 +0200 Jonas Maebe wrote: It is not possible in FPC 2.6.x. Wth the svn trunk version, you can use {$modeswitch unicodestrings} (in combination

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

2012-05-15 Thread Marcos Douglas
On Tue, May 15, 2012 at 6:16 AM, Jonas Maebe wrote: > > > Mattias Gaertner wrote on Tue, 15 May 2012: > >> On Tue, 15 May 2012 10:43:19 +0200 >> Jonas Maebe wrote: >> >>> It is not possible in FPC 2.6.x. Wth the svn trunk version, you can >>> use {$modeswitch unicodestrings} (in combination with

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

2012-05-15 Thread Jonas Maebe
Mattias Gaertner wrote on Tue, 15 May 2012: On Tue, 15 May 2012 10:43:19 +0200 Jonas Maebe 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 mo

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

2012-05-15 Thread Mattias Gaertner
On Tue, 15 May 2012 10:43:19 +0200 Jonas Maebe 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, yo

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

2012-05-15 Thread Jonas Maebe
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

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

2012-05-15 Thread Olivier Sannier
Hello all, Is there a way to force the string type to be an alias to UnicodeString instead of AnsiString as it is by default? I tried the obvious "type string = UnicodeString" but of course it is not allowed as string is a reserved keyword. Regards