Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 11 of 11 total
Thread Alter field type
Mon, Jul 20 2015 6:17 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sorin,

<< English >>

That's most likely your issue.  The ANSI strings are getting converted to
Unicode strings using the current system locale when you use
MyStringField.AsString (or any data-bound control does the same).

What you should use is the MyStringField.AsAnsiString property, then convert
the result to Unicode manually using the proper locale, and then assign it
directly to the control (don't have the control be data-bound).

You can use this to convert the string:

type
 HebrewString = type Ansistring(1255);

function EnglishToHebrew(const Value: AnsiString): String;
begin
   Result:=HebrewString(Value);
end;

(I didn't test the above, but it should work)

Tim Young
Elevate Software
www.elevatesoft.com
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image