On 21-11-2014 12:21, [email protected] [firebird-support] wrote:
> Can someone advice on how to set the encoding of the connection with
> Firebird C++ API "isc_attach_database" call.
> I want to set it to ISO8859_1 but cant find an example.

I am assuming you are talking about the C API (and not the C++ API of 
Firebird 3). You need to add a database parameter buffer item of 
isc_dpb_lc_ctype (== 48) with the name of the character set as its value 
(NOTE: strings are prefixed by the length of the string)

See also "Creating and populating a DPB" on page 44 and on of the 
Interbase 6.0 API Guide.

Mark
-- 
Mark Rotteveel

Reply via email to