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

Latin1 string encoding #179

Closed
jasongin opened this issue Mar 22, 2017 · 2 comments
Closed

Latin1 string encoding #179

jasongin opened this issue Mar 22, 2017 · 2 comments
Assignees

Comments

@jasongin
Copy link
Member

N-API currently supports UTF-8 and UTF-16 string encoding. V8 additionally supports latin1 string encoding, called "OneByte" strings in the V8 APIs, and it is widely used.

Proposed additional APIs:

  • napi_create_string_latin1
  • napi_get_value_string_latin1_length
  • napi_get_value_string_latin1
@sampsongao
Copy link
Collaborator

#192

@jasongin
Copy link
Member Author

Closing since this was done and merged into node.

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

No branches or pull requests

2 participants