Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! src: fix to use replacement character
  • Loading branch information
cola119 committed Jul 27, 2022
commit 30be3cd21cd01c1f95b5d8827ecec10f45d70efa
2 changes: 1 addition & 1 deletion test/parallel/test-whatwg-encoding-custom-textdecoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ if (common.hasIntl) {
assert.strictEqual(str, 'foo\ufffd');
}

{
if (common.hasIntl) {
const decoder = new TextDecoder('Shift_JIS');
const chunk = new Uint8Array([-1]);
const str = decoder.decode(chunk);
Expand Down