[patch_done] PostgreSQL UTF8 Charset Patch for 6.6.1 beta

Code patches written by our users to solve certain "problems" that were not solved, yet.

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Post Reply
whitekid
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 05.11.2007, 07:05
Contact:

[patch_done] PostgreSQL UTF8 Charset Patch for 6.6.1 beta

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