You do not need a Unicode application to display local language characters,
if Windows is set to the local language.  The List View is displaying the
Thai characters correctly, based on the screen shots the user sent, but the
label isn't.  Other areas of the program also show the Thai characters
correctly.

I am basically doing this...
Label.caption := listitem.caption+' '+listitem.subitems[0];

The Listitem shows correctly but not the label.

Ross.

-----Original Message-----
From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf
Of Francois Piette
Sent: Tuesday, 30 June 2009 1:25 a.m.
To: Borland's Delphi Discussion List
Subject: Re: Non-unicode issue in D7

> My D7 app is not Unicode compliant at all.
> A Thai user is complaining of a strange problem where Thai characters
appear
> correctly in a ListView, but not correctly in a label just above the
> listview.  The label is a Copy of column 1 and 2 from the selected
ListView
> item.
> The user has Thai as the selected language in the Windows regional &
> language settings / Advanced tab.

> Any ideas?

If your label is the standard TLabel, then it is unable to display unicode
characters. You have to upgrade to D2009 to be able to display unicode with
VCL controls, or use unicode controls for D7 (probably a non sense as per
today).

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

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

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

Reply via email to