Using Unicode with Firebird 2.11 and Delphi 2009

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Roaster2
Posts: 51
Joined: Mon 13 Oct 2008 19:29

Using Unicode with Firebird 2.11 and Delphi 2009

Post by Roaster2 » Wed 18 Feb 2009 20:18

Hi,

what are the recommended settings in IbDac to use Unicode in an application (compiled with D2009) with Firebird 2.11?

I've already created a new FB database with character set UTF8 and used Collation UTF8 where appropriate.

Would that be the correct way to store Unicode data inside a FB database and what settings have to be used in IbDac to get fully Unicode support in the application?

Thanks,
Michael

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

Post by Plash » Thu 19 Feb 2009 09:17

You need to set the UseUnicode option of TIBCConnection to True for full Unicode support. If you store UTF8 data in BLOBs with subtype 1, set also EnableMemos option to True. This enables Unicode support for such BLOBs.

Post Reply