Roy Lambert wrote: > They haven't! All strings are now unicode by default. Conversion at its > simplest consists of replacing all string, Char and PChar with AnsiString, > AnsiChar and PAnsiChar. Anything dependant on SizeOf(Char) = 1 needs > alteration. Then the real fun starts. > > At least I think that's right.
I would propose the following: {$ifndef unicode} Type Rawbytestring=Ansistring; {$endif} ... end then to use "rawbytestring" instead of "string" everywhere in Synapse. This avoids unnecessary codepage conversions in Delphi 2009 (and in Delphi 2007 nothing really changes). Arthur Hoornweg ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public