Hi,

I'm experiencing a problem loading some data from fixtures. Some of
the object loaded have danish letters (ø, å, æ) in their fields.

If I use the ANSI encoding for the JSON file I'm trying to load I get
the following error message:
"Problem installing fixture ...: 'utf8' codec can't decode bytes in
position 2-6: unsupported Unicode code range"

If I use the UTF8 encoding I get the message:
"Problem installing fixture ...: No JSON object could be decoded"

I tried also replacing the danish letters with their unicode encoding
(ø -> \xf8, æ -> \xe6, å -> \xe5) but it didn't work (neither in ANSI
nor in UTF-8).

Do you have any suggestion on how to solve this problem?

Any help would be very appreciated
Francesco


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to