On 5/10/07, Christoph Haas <[EMAIL PROTECTED]> wrote:
> > I fought long and hard with this problem.  Back then, it turned out
> > that letting SQLAlchemy do the encoding with use_unicode=True wouldn't
> > work because of a bug in MySQLdb.  However, it looks like that bug has
> > been fixed in a recent release of MySQLdb.
> >
> > These days, I bet you can just add ?use_unicode=1 to the end of your
> > db uri, and it'll work.
>
> Do you mean "encoding='utf-8'" or "convert_unicode=True" as documented
> in http://www.sqlalchemy.org/docs/dbengine.html#dbengine_options ?

No, use_unicode=1 is a MySQLdb option.   I've been using it
successfully.  MySQL is kind of a hassle to get Unicode working
reliably.

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to