Unicode Question

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Unicode Question

Post by snorkel » Wed 24 Dec 2008 17:32

If I set the connections charset to UTF8, will the connection automaticly use unicode, or do I have to specify UseUnicode:=true;

Just wondering what the best practice is concerning Unicode? Should it be set to true all the time?

Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 25 Dec 2008 11:05

If you just set Charset to UTF8, you will see data in the UTF8 encoding.

You should leave Charset empty and set UseUnicode = True to make PgDAC decode automatically all data from UTF8 to WideString.

Post Reply