Subject Re: [firebird-support] Firebird c++ API connect encoding
Author Scott Morgan
On 21/11/14 11:21, hugo.larson@... [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.


Firebird doesn't have a C++ API, it has a C API and there are third
party libs like IBPP.

For the C API you'd need to set the isc_dbp_lc_ctype parameter when
connecting (see the API Guide[0])

IBPP has a parameter on it IBPP::DatabaseFactory function.

Scott

[0] http://www.ibphoenix.com/downloads/60ApiGuide.zip