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