-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
new Buffer doesn't handle unicode well #2344
Copy link
Copy link
Closed
Labels
bufferIssues and PRs related to the buffer subsystem.Issues and PRs related to the buffer subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.i18n-apiIssues and PRs related to the i18n implementation.Issues and PRs related to the i18n implementation.
Metadata
Metadata
Assignees
Labels
bufferIssues and PRs related to the buffer subsystem.Issues and PRs related to the buffer subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.i18n-apiIssues and PRs related to the i18n implementation.Issues and PRs related to the i18n implementation.
results for hex2
the value of str in node is
����\u0000\u0010JFIF\u0000\u0001which would suggest that the issue has to do with how new Buffer handles characters in text.cc feross/buffer#66