Opened 8 years ago
Last modified 4 years ago
#26721 closed Cleanup/optimization
"loaddata" can not load data generated by "dumpdata" due to encoding issues — at Version 1
Reported by: | OBu | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.9 |
Severity: | Normal | Keywords: | dumpdata loaddata |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
When I "dumpdata" my database on my Windows 8.1 machine and load the dumped file with "loaddata", I get encoding errors.
Opening the dumped file with ntepad++, setting the encoding to UTF-8 and saving it again helps.
A django-users thread describes the problem in detail so it seems I'm not alone...
It might not be a Django problem but a windows pipeline-issue (I was using the powershell), but it is a bit embarrassing.
Note:
See TracTickets
for help on using tickets.