-
-
Notifications
You must be signed in to change notification settings - Fork 33k
gh-101828: Fix jisx0213
codecs removing null characters
#139340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@StanFromIreland Thank you for the investigation. Let me take a look at this weekend :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This patch prevents NULL bytes from being consumed as part of character pair encoding in the string. While this fixes the data loss bug, it does change existing behavior, so backporting needs discussion.
cc @methane
I will wait Naoki san for a week and plan to merge this PR. |
euc_jis_2004 has same logic. would you update it too?
|
Is done. |
shift_jisx0213
& shift_jis_2004
codecs removing null charactersjisx0213
codecs removing null characters
iso2022_jp_3 and iso2022_jp_2004 have same issue.
|
Uh oh!
There was an error while loading. Please reload this page.