Subject Re: [firebird-python] python kinterbasdb - check default charset of db or table
Author Peter Irbizon
Hi Pavel, thank you very much! It works like a charm. That is exactly what I was looking for.

2012/4/18 Pavel Cisar <pcisar@...>


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