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

Supplementary plane code points are not handled atomically #88

Open
gibson042 opened this issue Oct 17, 2022 · 0 comments · May be fixed by #89
Open

Supplementary plane code points are not handled atomically #88

gibson042 opened this issue Oct 17, 2022 · 0 comments · May be fixed by #89

Comments

@gibson042
Copy link

cf. jmespath-community/jmespath.test#2

String functions such as length and reverse and sort are documented to treat strings as sequences of code points, but this implementation incorrectly interprets the code units of each surrogate pair representing a supplementary plane character as independent code points.

gibson042 added a commit to gibson042/jmespath.js that referenced this issue Oct 17, 2022
@gibson042 gibson042 linked a pull request Oct 17, 2022 that will close this issue
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 a pull request may close this issue.

1 participant