On 2/10/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:
> Mike Orr <[EMAIL PROTECTED]> writes:
>
> > On 2/10/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:
> >> Mike Orr <[EMAIL PROTECTED]> writes:
> >>
> >> > ... but .queryAll() returns returns strings for UnicodeCols, so you
> >>
> >> This sounds like a bug to me...
> >
> > It's just a lower level.  connection.queryAll(sql) is essentially just
> > a wrapper around DBAPI's "cursor.execute(sql);  return
> > cursor.fetchall()".  It doesn't parse the SQL to see what the columns
> > are, much less know what a UnicodeCol is.
>
> If your database is configured for UTF-8, .queryAll() should return unicode
> instances.

I didn't set the encoding in the database.  Isn't that a backend-specific thing?

--
Mike Orr <[EMAIL PROTECTED]>
([EMAIL PROTECTED] address is semi-reliable)

Reply via email to