Subject Re: [firebird-python] Re: pyfirebirdsql: error with very simple parameterized query
Author Philippe Makowski
skoczian [2011-09-11 13:29] :
> I got these results:
>
> Python 3.2.2 (default, Sep 4 2011, 09:07:29) [MSC v.1500 64 bit (AMD64)] on Gespenst, Standard
>>>> Aktuelle Parameter: ('X',)
> []
this not good, we have a bug
we should manage this

> Aktuelle Parameter: ('Ä',)
> []
this not good, we have a bug
we should manage this

> Aktuelle Parameter: (b'\xc4',)
> Dynamic SQL Error
> SQL error code = -303
> Malformed string
this is ok, you send latin1 but you are connected with UTF8 in your
connection string
>
> Aktuelle Parameter: (b'\xc3\x84',)
> [[4, 'Ä', 'äöüéàô']]
> Done
>
this is ok