Re: Opening a pysqlite database with a pathname containing non-ANSI characters
Gerhard Häring <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Hughes wrote: > Is it possible to pass a database path name to sqlite.connect that > contains non-ANSI characters? [...] In principle yes, but the filename will have to be a unicode string or a UTF-8 encoded bytestring. - -- Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFZzp4dIO4ozGCH14RAgRtAJ9HiJi+sMJ2RmTnI+w2p0MkLJ1YNQCeJ1Xc Sf20SC3KirjK6bQWTkV/Dsk= =PPBi -----END PGP SIGNATURE-----