#15017: Can't use dumpdata to output non-ASCII data
---------------------------+------------------------------------------------
 Reporter:  echamberlain   |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Serialization  |     Version:  1.2       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 We are trying to migrate between databases and we are running into a
 problem while trying to use dumpdata.  We've tried:

         {{{./manage.py dumpdata --natural --indent 2 > dump.json}}}

 and:

         {{{./manage.py dumpdata --natural --format xml --indent 2 >
 dump.xml}}}

 Both return the following error:

         {{{Error: Unable to serialize database: 'ascii' codec can't encode
 character u'\xe9' in position 18: ordinal not in range(128)}}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15017>
Django <http://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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to