Once this has been fixed in Feisty, you can request backports to Edgy or Dapper, following the process at https://launchpad.net/ubp.
I'm attaching a debdiff made from the patch linked above. ** Attachment added: "fix unicode support in python-mysqldb" http://librarian.launchpad.net/6880972/unicode.debdiff -- UnicodeDecodeError: 'ascii' codec can't decode certain bytes https://launchpad.net/bugs/57067 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs