[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UTF-8 problem in db/dak interaction



]] Ansgar Burchardt

> there seems to be already a workaround for Unicode issues in
> daklib/dbconn.py, but it is only used with sqlalchemy 0.6. Could you try
> the attached patch?

This seems to work fine.

> A better workaround might be setting client_encoding[1], but I am not
> sure what ends in the database. However maybe we should just require
> that the database uses the UTF-8 encoding instead of an unspecified one.

That sounds more sensible to me, but I don't know the code base well
enough to know.

Cheers,
-- 
Tollef Fog Heen
Technical lead | Varnish Software AS
t: +47 21 98 92 64
We Make Websites Fly!


Reply to: