python kinterbasdb - check default charset of db or table

M

miamia

Hello,
I am using python 2.7 and kinterbasdb. How could I find out default
charset used by database? I need to check it and then according to
used charset decode returned strings. thank you
 
M

Marglix

Hello,
I am using python 2.7 and kinterbasdb. How could I find out default
charset used by database? I need to check it and then according to
used charset decode returned strings. thank you

You could use a tool like flamerobin and look at the meta data to see which charset was used for the firebird database in question.
You also want to look there:
http://kinterbasdb.sourceforge.net/dist_docs/usage.html#adv_prog_maint_database_info

Kinterbasdb will not be further developed and you might want
to use the fdb driver for further python development.
http://pypi.python.org/pypi/fdb/0.7.2
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top