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:  [email protected]
"Most people would sooner die than think; in fact, they do so!"
        [Bertrand Russell  1872-1970]

-----Original Message-----
From: [email protected] [mailto:[email protected]]
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.

--
[email protected]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

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

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

Reply via email to