Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@s10akir
Copy link
Contributor

@s10akir s10akir commented Aug 29, 2023

Thanks for the great software!

We have discovered a problem with receiving standard input via the CLI where chunks are split and data is corrupted unexpectedly.
This occurs frequently with data that routinely uses multi-bytes and tends to be large in size, such as Japanese.

After receiving standard input, we have changed to parse the data with process.stdin.on("end").

Example of corrupted JSON:
image

@tecfu tecfu merged commit 06b1409 into tecfu:master Sep 30, 2023
@tecfu
Copy link
Owner

tecfu commented Sep 30, 2023

@s10akir Thanks for your contribution!

@s10akir
Copy link
Contributor Author

s10akir commented Nov 29, 2023

@tecfu Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants