Subject | Re: [firebird-support] Firebird c++ API connect encoding |
---|---|
Author | Mark Rotteveel |
Post date | 2014-11-22T10:02:45Z |
On 21-11-2014 12:21, hugo.larson@... [firebird-support] wrote:
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
> Can someone advice on how to set the encoding of the connection withI am assuming you are talking about the C API (and not the C++ API of
> Firebird C++ API "isc_attach_database" call.
> I want to set it to ISO8859_1 but cant find an example.
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