#2427 closed defect (fixed)
[patch] ensure_ascii option doesn't pass to simplejson.dump
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
django.core.serializers.json.Serializer.end_serialization doesn't pass ensure_ascii flag to simplejson.dump.
So simplejson.dump always use ensure_ascii=True, it's no use for none ascii charcters.
Attachments (1)
Change History (2)
by , 19 years ago
| Attachment: | 3453.json_2.diff added |
|---|
comment:1 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Thanks for the patch. This was fixed in a more general way in [3795] and documented in docs/serialization.txt.
Note:
See TracTickets
for help on using tickets.
replace 3453.json.diff with 3453.json_2.diff. I wrote a fool code..