Opened 19 years ago
Closed 19 years ago
#2376 closed defect (duplicate)
non-ASCII Initial SQL data file fails to load
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
If an initial SQL data file is in a non-ASCII encoding, then "./manage.py syncdb" gives an error:
Failed to install initial SQL data for ... model: 'ascii' codec can't decode byte ...
Can the encoding assumed be changed to utf-8?
Note:
See TracTickets
for help on using tickets.
Closed in favour of #2489