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

Support passing utf-8 strings from JavaScript to C++. #1355

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

csukuangfj
Copy link
Collaborator

We first convert utf-16 strings to Uint8Array and then we pass the array to C++.

We first convert utf-16 strings to Uint8Array and then we
pass the array to C++.
@csukuangfj csukuangfj merged commit cddac52 into k2-fsa:master Sep 18, 2024
1 of 4 checks passed
@csukuangfj csukuangfj deleted the fix-node-addon-api branch September 18, 2024 03:03
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.

1 participant