#18661: special characters like "é" or "è" in sqlite3 file path raise a
"sqlite3.OperationalError: unable to open database file"
-------------------------------------+-------------------------------------
Reporter: oncleben31 | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.4
(models, ORM) | Resolution: invalid
Severity: Normal | Triage Stage:
Keywords: windows | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by kmtracey):
* status: new => closed
* resolution: => invalid
Comment:
I have verified that so long as the database name string is unicode
(prefixed with `u''`, or in a file with `from __future__ import
unicode_literals`), a sqlite file name with non-ascii characters works
fine, on Windows. Tried 1.4 and current master, on current master tried
both py2 and py3. The unicode warning noted above only happens when the DB
name string is not unicode.
--
Ticket URL: <https://code.djangoproject.com/ticket/18661#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.