The used developing environment is an old one, this may case this error. I'm currently adding some new features to application compiled with MS VC98. The strings i'm using are UTF8-coded.
I will mail a short sample and  the resulting error code today.

Am 21.09.2017 um 20:18 schrieb Simon Slavin:

On 21 Sep 2017, at 5:00pm, heribert <herib...@scharnagl.com> wrote:

I'm using c++ and generate the whole insert string via sqlite3_vmprintf with 
quoted text. So the '\r' and '\n' are single characters - this will result in 
the error.
Something is wrong with your development environment.  SQLite has no clue what 
the characters in its strings are.  You can put returns and newlines and all 
sorts of other control characters in them.

It’s more likely that your string handling library is messing things up.  For 
debugging purposes have your code print the string, and the length of the 
string just before the sqlite3_ call.

Also make sure that your string is encoded for Unicode, not some weird code 
table.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to