PDA

View Full Version : delphi2009



noeska
15-06-2009, 07:20 PM
Who knows an easy way to 'fix' strings with delphi2009 (win32)? Is there an code converter?

Traveler
15-06-2009, 07:28 PM
The short answer: use ansiString instead of string.

The new string type is unicode based, which does not always work well with older code.
You can solve that most of the time by defining your strings as AnsiString.


var myOldString : ansiString;
myNewString : string;