Which API are you using ? Are you addressing SQLite's C API directly, or using a SQLite library for your programming language ? The string with path and filename that you're passing to the API. Is it ASCII, UTF-8, or 16-bit Unicode ? My suspicion is that the API is expecting one, but you're using another.