Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2427 closed defect (fixed)

[patch] ensure_ascii option doesn't pass to simplejson.dump

Reported by: mtsuyuki@… 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)

3453.json_2.diff (631 bytes ) - added by mtsuyuki@… 18 years ago.
replace 3453.json.diff with 3453.json_2.diff. I wrote a fool code..

Download all attachments as: .zip

Change History (2)

by mtsuyuki@…, 18 years ago

Attachment: 3453.json_2.diff added

replace 3453.json.diff with 3453.json_2.diff. I wrote a fool code..

comment:1 by Malcolm Tredinnick, 18 years ago

Resolution: fixed
Status: newclosed

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.
Back to Top