Page 1 of 1

Unicode and Zeos and Postgresql

Posted: 01.09.2005, 19:13
by snorkel
Hi,
I have a test postgres database that has a encoding of UNICODE,
I can paste in unicode strings in PG Admin III, and when I try to display them in Delphi with the TNT(http://www.tntware.com/delphicontrols/unicode/) controls they come back all garbled up.

I am not using the CVS version of zeos.

Thanks,

Snorkel

Posted: 12.09.2005, 18:51
by fduenas
as long as i know zeos doesn't support unicode fully. maybe you can use the fuinctios from then TNT library in the OnGetValue (onGetText) and OnSetValue (OnsetText) events of the fields you need to use unicode. so the values will be decoded (ongetValue) and encode (onsetValue) when edited.