#23888: UnicodeEncodeError on repr of File with unicode name
--------------------------------------+------------------------
Reporter: sir-sigurd | Owner: sir-sigurd
Type: Bug | Status: new
Component: File uploads/storage | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------
Related to #8156.
{{{
In [1]: from django.core.files import File
In [2]: File(None, u'djángö')
Out[2]: <repr(<django.core.files.base.File at 0x7ff771a2ce90>) failed:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in
position 9: ordinal not in range(128)>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23888>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.f7dfc77c8f49ee5bd495369a8cd697b8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.