Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect handling of emojis and other 4-byte UTF-8 characters on Android #44

Open
brodycj opened this issue Nov 5, 2018 · 0 comments

Comments

@brodycj
Copy link

brodycj commented Nov 5, 2018

Workaround solution for crash in case of emojis and other 4-byte UTF-8 characters in cordova-sqlite-evcore-free-dependencies@0.8.6 (#7) is to replace each 4-byte UTF-8 character (starting with 0xF? value) with single ? mark. This behavior is observed on Android starting with 6.0.

On Android pre-6.0 emojis and other 4-byte UTF-8 characters are stored with non-standard encoding as described in storesafe/cordova-sqlite-storage#564.

brodycj pushed a commit that referenced this issue Nov 6, 2018
in cordova-sqlite-evcore-common-free version branch

with workaround for 4-byte UTF-8 crash bug ref:
- #44
- #7

and crash bug fix for Samaritan characters ref:
- #37

(cordova-sqlite-evcore-common-free 0.0.4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant