Uwe Grauer wrote:
> I'm testing with a new version of kinterbasdb, the python module for
> Firebird.
> 
> I get this error:
> Dabo Error Log: Fri Nov 21 17:39:36 2008: Database Execution failed with
> response: (0L, 'Attempt to look up Python codec name on basis of
> database char set name failed.')
> 
> My database default character set is "UTF8" and my LANG setting is
> "LANG=en_US.UTF-8".
> 
> I'm already setting my apps charset:
>     app.Charset = 'UTF-8'
> and :
>     app.DatabaseActivityLog = codecs.getwriter("UTF-8")(sys.stdout)
> 
> I didn't get any errors with the prior kinterbasdb version.
> 
> Any hint on what may be wrong?
> 
> Thanks,
> Uwe

Now i know why i got errors.
Firebird needs the string 'UTF8' rather than the charset name 'UTF-8'
which i got from the enviroment and reused for the connection charset.

Uwe


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to