Subject Re: [firebird-python] python kinterbasdb - check default charset of db or table
Author Pavel Cisar
Hi,

Dne 18.4.2012 14:18, Peter Irbizon napsal(a):
>
>
> Hello,
> I am using python 2.7 and kinterbasdb. How could I find out default
> charset used by database? I would like to check it and then according to
> used charset decode returned strings. thank you

To get default character set for a database, use:
select rdb$character_set_name from rdb$database;

best regards
Pavel Cisar
IBPhoenix