Code

Opened 8 years ago

Closed 7 years ago

#2376 closed defect (duplicate)

non-ASCII Initial SQL data file fails to load

Reported by: adurdin@… Owned by: adrian
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: UI/UX:

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 (0)

Change History (1)

comment:1 Changed 7 years ago by adurdin@…

  • Resolution set to duplicate
  • Status changed from new to closed

Closed in favour of #2489

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.