Regression in json()

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Regression in json()


The fix (Escape
control characters in JSON) introduced a regression.

> ./sqlite3
SQLite version 3.19.0 2017-04-12 17:50:12
sqlite> select json('"ä"');
Error: malformed JSON

I'd expect: "ä"

The reason is

The variable c is declared as char

If I'm not mistaken that should be:

unsigned char c;
sqlite-users mailing list
[hidden email]