Opened 18 years ago
Closed 18 years ago
#4494 closed (duplicate)
Fixtures fail for UTF-8 encoded data
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Tools | Version: | dev |
Severity: | Keywords: | fixtures utf-8 | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Data loaded using initial_data.json does not correctly handle UTF-8 characters. Similarly if you use the --format XML flag an error is generated:
python manage.py dumpdata --format xml winereport
Unable to serialize database: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Change History (5)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Hi Simon,
This is on the trunk (revision 5420). I take it that some work is going on in this area on the unicode branch?
Thanks,
Colin.
comment:3 by , 18 years ago
Yes, the "unicode" branch in the Django SVN repository is a reworking of a lot of Django's internals (nothing that affects end-user apps very much) to drastically improve Unicode handling. Before reporting bugs related to Unicode, please test against that branch to make sure the problem hasn't already been fixed there (the branch is nearing completion and will hopefully be merged fairly soon, so it's important to know about any remaining bugs it hasn't fixed).
comment:4 by , 18 years ago
Hi,
I've re-tested this on the unicode branch. Both of the issues are resolved on this branch for newly created data dump files (files produced from trunk code don't work, but that's probably OK).
Is there a way to mark the ticket as being fixed on a particular branch?
Thanks,
Colin.
comment:5 by , 18 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This is essentially a dupe of #4227.
(Triagers: I've been putting in the unicode-branch keyword for tickets that are open on trunk but fixed on the unicode branch. Then I'll close them all when the branch is merged.)
Colin, is this on the unicode branch or the standard branch?