-
-
Notifications
You must be signed in to change notification settings - Fork 35.2k
Closed
Labels
questionIssues that look for answers.Issues that look for answers.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
- Version: v10.14.1
- Platform: MacOS Mojave 10.14.1 (18.2.0 Darwin Kernel Version 18.2.0)
- Subsystem: Buffer
I apologize if this is the wrong place, but I've spent part of my day debugging some checksum diffs when upgrading our system from Node v8.11.1 to Node v10.14.1 and noticed that there is a change in behavior for Buffer.toString() for invalid utf8. (Example below) Nothing really jumped out to me in https://nodejs.org/en/blog/release/v10.0.0/ notes. I've also noticed a floating point precision change, and Date format changes. Is there a better documentation for braking changes between versions?
On Node v10.14.1
> b = Buffer.from([0xED, 0xB8, 0x08])
<Buffer ed b8 08>
> b.toString()
'��\b'
On Node v8.11.1
> b = Buffer.from([0xED, 0xB8, 0x08])
<Buffer ed b8 08>
> b.toString()
'�\b'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionIssues that look for answers.Issues that look for answers.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.