Re: dumpdata/loaddata does not use database encoding

2007-05-09 Thread Jiri Barton
You can use the YAML serializer until this is fixed. It worked for me. You will have to install PyYaml first (http://pyyaml.org/) - or easy_install pyyaml. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django use

Re: dumpdata/loaddata does not use database encoding

2007-05-05 Thread Caspar Hasenclever
I found a way to partially fix this, a ticket with patch is here: http://code.djangoproject.com/ticket/4227 Cheers, Caspar Hasenclever --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

dumpdata/loaddata does not use database encoding

2007-05-05 Thread Caspar Hasenclever
Hi all, I am trying to use dumpdata/loaddata on a postgresql_psycopg2 backend with a character encoding of UTF-8. The data came from a legacy DB, the model was derived from "manage.py inspectdb". It chokes on non-ASCII characters when dumping in XML-format: "Unable to serialize database: 'ascii