-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
cksum: --check can't handle non-UTF-8 in comments #6573
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
Labels
Comments
This is partially fixed by #6793 and #6822. $ ../../../gnu/src/cksum -c CHECKSUM
../../../gnu/src/cksum: 'XXX'$'\377''XXX': No such file or directory # escaped
XXXXXX: FAILED open or read
../../../gnu/src/cksum: WARNING: 1 listed file could not be read
$ ../../target/debug/cksum -c CHECKSUM
../../target/debug/cksum: XXX�XXX: No such file or directory # not escaped
XXXXXX: FAILED open or read
../../target/debug/cksum: WARNING: 1 listed file could not be read |
@BenWiederhake |
@sylvestre Can we close this issue ? |
sorry, sure :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, we convert every line to a
String
, which has the disadvantage of not properly handling malformed UTF-8, even if it appears in an "irrelevant" place:It also isn't supported in other places during
check
:The text was updated successfully, but these errors were encountered: