Codepage conversions, yes. But do not forget that all bread and butter
functions like inttostr have also been translated to unicode. So having
RawByteString everywhere would force a conversion every time you use any
standard RTL function.


On Mon, Mar 23, 2009 at 5:07 PM, Arthur Hoornweg <
antispam.hoorn...@casema.nl> wrote:

> 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).
>
>
------------------------------------------------------------------------------
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

Reply via email to