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

fix: use codePointAt instead of charCodeAt #74

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

yisibl
Copy link
Contributor

@yisibl yisibl commented Mar 21, 2023

@khaledhosny says:

charCodeAt gives UTF-16 code units (including surrogate pairs), you should use codePointAt instead.
#73 (review)

@khaledhosny says:

> `charCodeAt` gives UTF-16 code units (including surrogate pairs), you should use `codePointAt` instead.
> harfbuzz#73 (review)
@khaledhosny khaledhosny merged commit 508bd6f into harfbuzz:main Mar 21, 2023
@yisibl yisibl deleted the fix-charCodeAt branch March 21, 2023 13:45
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.

2 participants