To add the stream option to True when decoding.
Failure to specify this option may cause garbled characters as shown below.
あ���がとう
This matter sometimes seems to occur with multibyte characters.
Also, performance can be improved by not creating a TextDecoder instance within the while.
Does this introduce a breaking change?
[ ] Yes
[x] No
Pull Request Type
What kind of change does this Pull Request introduce?
[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:
How to Test
Run node test.mjs command
node test.mjs
What to Check
Verify that the characters are not garbled by multibyte characters.
Purpose
To add the stream option to True when decoding. Failure to specify this option may cause garbled characters as shown below.
This matter sometimes seems to occur with multibyte characters. Also, performance can be improved by not creating a TextDecoder instance within the while.
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
Run node test.mjs command
What to Check