The SQLite3 wrapper class and the client class use std::wstring,
however, the wrapper performs the necessary conversion to
std::string::data(), before submitting the requests to SQLite3.
Nice of you to notice this provable cause.
Thanks so much for the help.
On 2017-09-21 5:37 PM, Keith Medcalf wrote:
convert->toString
Please check this function to make sure it does what you think it
does. What happens if you leave it out and process the raw C string
instead ?
You would have to change the string definition to a "normal" ASCII string.
It is currently defined as UCS-2 characters and sqlite_prepare_v2 does not
accept UCS-2 (2 byte characters), one single-byte ASCII (7-bit of a byte) or
UTF-8.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
--
ArbolOne.ca
Using Fire Fox and Thunderbird.
ArbolOne is composed of students and volunteers dedicated to providing free
services to charitable organizations.
ArbolOne on Java Development in progress [ í ]
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users