Okay, that makes sense.  I thought perhaps there was some other
reason I wasn't getting.  Thanx.

from "Robert Meek" dba "Tangentals Design"
Creative Concepts Programming for Windows Vista
E-mail:  ffo...@comcast.net
"Most people would sooner die than think; in fact, they do so!"
        [Bertrand Russell  1872-1970]

-----Original Message-----
From: delphi-talk-boun...@elists.org [mailto:delphi-talk-boun...@elists.org]
On Behalf Of Francois Piette
Sent: Monday, May 04, 2009 7:44 AM
To: Delphi-Talk Discussion List
Subject: Re: Delphi 2009 and Strings

>>Simply do a search and replace to change all
>>occurrences of String type to AnsiString type. The compiler will
>>automatically convert AnsiString to UnicodeString when it is necessary.
This
>>will work although you will not
>>benefit from Unicode.

>I realize I'm missing something obvious here, but why won't it
>benefit from Unicode if the strings are converted?

To benefit from Unicode, you must use Unicode all the way between user input
to user output, passing by database and everything. If a single element in
the chain handle strings as AnsiString, then you won't be able to handle
Unicode properly.

--
francois.pie...@overbyte.be
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Reply via email to