Skip to content
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

Read file lines in the system default charset #12419

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

Conversation

SoftlySplinter
Copy link

Fixes #12418

Ensure that Files.lines(Path) reads filesystem files in the charset of the underlying operating system and not UTF-8.

* Ensure that Files.lines(Path) reads filesystem files in the charset of
  the underlying operating system and not UTF-8.

Signed-off-by: Alex Brown <[email protected]>
@SoftlySplinter SoftlySplinter requested a review from a team as a code owner October 9, 2024 09:40
Copy link

CLA Not Signed

@jeanbisutti
Copy link
Member

Thank you @SoftlySplinter Could you please follow these instructions: #12419 (comment)

@SoftlySplinter
Copy link
Author

Thanks @jeanbisutti, I'm working on getting approval internally.

@laurit
Copy link
Contributor

laurit commented Nov 25, 2024

@SoftlySplinter is this PR still relevant? Could you provide a sample line from /proc/self/mountinfo that triggers the error.

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.

MalformedInputException when /proc/self/mountinfo is not UTF-8 encoded
3 participants