#18063: repr() should return only ascii, not unicode
-------------------------------------+-------------------------------------
     Reporter:  guettli              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  reopened
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by guettli):

 I read the documentation again:
 http://docs.python.org/reference/datamodel.html?highlight=repr#object.__repr__

 I admit that this is not a good solution:
 {{{
 [<Cat: Skittle (now Am?lie)>]
 }}}

 What do you think about this solution? I can be used to recreate the
 object like suggested in the above link.

 {{{
 [<Cat: Skittle (now  Am\xc3\xa9lie)>]
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18063#comment:14>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to