Skip to content

Latin1 string encoding #179

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants