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

Handle UTF-16 surrogate pairs in WAJsonParser #1341

Merged
merged 5 commits into from
Sep 12, 2022

Conversation

marschall
Copy link
Contributor

Fixes #1340

marschall and others added 2 commits September 1, 2022 12:59
…here a lowSurrogate value would be the first surrogate in the string
@jbrichau
Copy link
Member

jbrichau commented Sep 9, 2022

@marschall I added a testcase and also fixed the case where a low surrogate would be passed as the first (or only one) of the pair. See c1d311e
Does that look good to you?

jbrichau
jbrichau previously approved these changes Sep 10, 2022
@marschall
Copy link
Contributor Author

@marschall I added a testcase and also fixed the case where a low surrogate would be passed as the first (or only one) of the pair. See c1d311e Does that look good to you?

Thanks a lot. I changed the formatting and structure a little so that it is a bit easier to understand for me. I hope you concur.

Copy link
Member

@jbrichau jbrichau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to go.

@jbrichau jbrichau merged commit ede65a3 into SeasideSt:master Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WAJsonParser does not handle UTF-16 surrogate pairs
3 participants