On 19 Lip, 14:01, Amirouche <[EMAIL PROTECTED]> wrote: > I got an encoding error while rendering in the admin some text I > parsed from a feed with feedparser > > Caught an exception while rendering: 'ascii' codec can't encode > character u'\u2605'. > > everything is utf-8 compliant (db = sqlite3) so I don't understand, > the error happenned in *force_unicode*. > > any tips
Dealt with a LOT of unicode errors after the upgrade - some happened due to workarounds to django bugs that turned to bugs in my code, and the rest was fixed by using ugettext and ugettext_lazy instead of gettext and gettext_lazy. Double-check all your models.py. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---