ext/misc/json1.c uses the following functions from the C library: isalnum(): http://www.sqlite.org/src/artifact/541004e47235cefc?ln=564 isspace(): http://www.sqlite.org/src/artifact/541004e47235cefc?ln=635 isdigit(): http://www.sqlite.org/src/artifact/541004e47235cefc?ln=829
Existing source code declares these as unsafe for hi-bit-set characters and introduces safe replacement versions independent of locale: src/sqliteInt.h: https://www.sqlite.org/src/artifact/424a2020efc9736c?ln=3092-3094 ext/fts2/fts2.c: https://www.sqlite.org/src/artifact/72c816a9ae448049?ln=336-353 ext/fts3/fts3_tokenizer1.c: https://www.sqlite.org/src/artifact/5c98225a53705e5e?ln=54-56 Shouldn't json1.c avoid them for the same reasons? Ralf