Fix SQLite working with wide characters.