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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.