Skip to content

Latin1 string encoding #179

@jasongin

Description

@jasongin

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions