possible fix for issue #327

There seems to be  an issue with unicode and mysql when using tastypie. 
https://github.com/toastdriven/django-tastypie/issues/327#issuecomment-11981084


This is a possible fix.