#3314: smart_unicode throws UnicodeDecodeError when got a instance with utf-8 encoded string --------------------------------------------------------------+------------- Reporter: nesh <nesh [at] studioquattro [dot] co [dot] yu> | Owner: adrianType: defect | Status: new Priority: normal | Milestone: Component: django.newforms | Version: Severity: normal | Keywords: --------------------------------------------------------------+-------------
When smart_unicode get instance instead of string it uses
{{{unicode(str(s))}}} to convert it to string, but if instance returns a
{{{utf-8}}} encoded string you will get a {{{UnicodeDecodeError}}}.-- Ticket URL: <http://code.djangoproject.com/ticket/3314> Django <http://code.djangoproject.org/> The web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" 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/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
