Unicode and Zeos and Postgresql

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
snorkel
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: 01.09.2005, 18:55
Location: Milwaukee USA

Unicode and Zeos and Postgresql

Post 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
User avatar
fduenas
Zeos Dev Team
Zeos Dev Team
Posts: 132
Joined: 26.08.2005, 08:12
Location: Cancún

Post 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.
Post Reply