firebird and unicode

flupke flupke at nonexistingdomain.com
Sun May 22 15:56:46 EDT 2005


Hi,

i'm developing an app that uses wxPython and Firebird via kinterbasdb on 
Win XP SP2. On insert of a record i get this error:
(kinterbasdb.InterfaceError)
(0, "Type mismatch: Input parameter for field named [name n
ot known at this stage of query execution] must be a string, rather than 
a <type 'unicode'>.")

Python, wxPython are all unicode enabled. The firebird database is 
created with the UNICODE_FSS charset and opened as such in kinterbasdb's 
connect function (charset=UNICODE). The GUI's charset is made with 
wxGlade and there i specified UTF-8 for the encoding.

I'm out of ideas as to why i get this error message.

Any ideas?

Thanks
Benedict



More information about the Python-list mailing list