Embedded U+0000 NULL characters ('\u0000' or '\0') not working on Android (default Android-sqlite-evcore-native-driver access implementation) or Windows.
Solution on Android-sqlite-evcore-native-driver is to get the actual column length instead of using strlen().
Possible solution for Windows a solution was contributed in litehelpers/Cordova-sqlite-storage#709.
Expected to be resolved in the next major release from litehelpers/Cordova-sqlite-storage#687 if not sooner.
NULL character test TODOs:
test with NULL character in inline string value in SQL statement
test with NULL character in database file name
RELATED ISSUES:
litehelpers/Cordova-sqlite-evcore-extbuild-free#19 - issue with multi-byte UTF-8 characters
litehelpers/Cordova-sqlite-evcore-extbuild-free#7 - crash in case of emojis and other 4-byte UTF-8 characters
litehelpers/Cordova-sqlite-evcore-extbuild-free#25 - issue with multi-byte UTF-8 character such as accented characters or Euro symbol in database name
litehelpers/Cordova-sqlite-evcore-extbuild-free#26 - crash in case of 4-byte UTF-8 character in database file name
Embedded U+0000 NULL characters (
'\u0000'
or'\0'
) not working on Android (default Android-sqlite-evcore-native-driver access implementation) or Windows.Solution on Android-sqlite-evcore-native-driver is to get the actual column length instead of using strlen().
Possible solution for Windows a solution was contributed in litehelpers/Cordova-sqlite-storage#709.
Expected to be resolved in the next major release from litehelpers/Cordova-sqlite-storage#687 if not sooner.
NULL character test TODOs:
RELATED ISSUES: