Django

Code

Ticket #2376 (closed: duplicate)

Opened 2 years ago

Last modified 2 years ago

non-ASCII Initial SQL data file fails to load

Reported by: adurdin@gmail.com Assigned to: adrian
Milestone: Component: Database layer (models, ORM)
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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?

Attachments

Change History

01/14/07 06:26:16 changed by adurdin@gmail.com

  • status changed from new to closed.
  • resolution set to duplicate.

Closed in favour of #2489


Add/Change #2376 (non-ASCII Initial SQL data file fails to load)




Change Properties
Action