Page 1 of 1

[patch_done] PostgreSQL UTF8 Charset Patch for 6.6.1 beta

Posted: 05.11.2007, 07:11
by whitekid
This patch make possible UTF8 Encoded Database access as TField.AsWideString function on ZeosLib 6.6.1 beta

If you use this patch you need to set TZConnection.Options to

Code: Select all

codepage=utf8
client_encoding=utf8
and. when you read the field data you can use AsWideString functions

Code: Select all

ZTable1.FieldByName('aUTF8Column').AsWideString
You can download at
http://pds6.egloos.com/pds/200711/02/71 ... 1.patch.r2

It tested in RadStudio 2007 and PostgreSQL 8.1.9