-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/10/2011 09:44 AM, Alexander Spence wrote:
> How would I open a database connection using UTF-16 but still be able to 
> specify flags.  Seems like there would be a sqlite3_open16_v2 but there's not.

Indeed.  If you look at the code for sqlite3_open16 you'll see that it
converts the filename to UTF8 and then calls the normal open routine.

sqlite3_open16_v2 would just do the same thing, so you can achieve the same
affect by converting the filename to utf8 yourself and calling sqlite3_open_v2.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk15HEMACgkQmOOfHg372QTmdgCffjMgEL5DKOHWOu/M7QMtPB/C
zocAoJmWirPFN9JgPPi6C2EFTiN6qsj4
=njcu
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to