8000 od: fix handling of non-ascii chars by tgrez · Pull Request #8268 · uutils/coreutils · GitHub
[go: up one dir, main page]

Skip to content

od: fix handling of non-ascii chars #8268

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

od: fix handling of non-ascii chars #8268

wants to merge 1 commit into from

Conversation

tgrez
Copy link
Contributor
@tgrez tgrez commented Jun 25, 2025

Fixes #8202

I'm not sure if this fix is complete, because I couldn't reproduce the original behavior of uutils impl with GNU od, so I don't know in which situations the previous implementation was valid (I assume there is/was a reason for implementing it the way it was implemented).

Regardless of the above, this fixes the reported issue. It still lacks localization support, but it works correctly for LC_ALL=C as well as LC_ALL=en_US.UTF-8.

@tgrez tgrez force-pushed the main branch 2 times, most recently from d932385 to 50ecff0 Compare June 25, 2025 15:36
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

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.

od incorrectly handles non ascii chars
1 participant
0