#34142 closed Bug (duplicate)

dumpdata fails when writing a utf-8 to the file

Reported by: Amir Pourjafari Owned by: Amir Pourjafari
Component: Core (Management commands) Version:
Severity: Normal Keywords: management, dumpdata
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Dump data in management command fails if user tries to write loaded utf-8 data in a file. This patch contains an edit to fix this issue by adding encoding keyword to the file handler.

Change History (2)

comment:1 by Amir Pourjafari, 18 months ago

Keywords: management dumpdata added
Owner: changed from nobody to Amir Pourjafari
Status: newassigned
Triage Stage: UnreviewedReady for checkin

comment:2 by Mariusz Felisiak, 18 months ago

Has patch: unset
Resolution: duplicate
Status: assignedclosed
Triage Stage: Ready for checkinUnreviewed

Duplicate of #26721.

Note: See TracTickets for help on using tickets.
Back to Top