[fpc-devel] Use widesting as default?

2010-11-18 Thread Birger Jansen
Hi all, I'm converting a Delphi 2009 project to FPC. In this project all strings are widestrings, which is default for Delphi 2009. However, in FPC all strings are still 'normal' strings. Is there a way (compiler switch?) to use widestring as default for all strings in FPC? Kind regards, Bir

Re: [fpc-devel] Use widesting as default?

2010-11-18 Thread Paul Ishenin
18.11.2010 21:12, Birger Jansen wrote: Hi all, I'm converting a Delphi 2009 project to FPC. In this project all strings are widestrings, which is default for Delphi 2009. However, in FPC all strings are still 'normal' strings. Is there a way (compiler switch?) to use widestring as default for

Re: [fpc-devel] Use widesting as default?

2010-11-18 Thread Jonas Maebe
On 18 Nov 2010, at 15:12, Birger Jansen wrote: I'm converting a Delphi 2009 project to FPC. In this project all strings are widestrings, which is default for Delphi 2009. However, in FPC all strings are still 'normal' strings. Is there a way (compiler switch?) to use widestring as default

RE: [fpc-devel] Use widesting as default?

2010-11-18 Thread Birger Jansen
> Keep in mind that Delphi 2009's default string type is much more than > a regular widestring. Using "unicodestring" instead in FPC would be > more correct, but even then you won't have the same support yet (that > first requires the completion of the cpstrnew branch, as Paul > indicated).