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

Strip trailing null characters from decoded text #282

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

uklotzde
Copy link
Contributor

This should fix most issues when decoding text with trailing null characters.

Optionally, you could pass ParsingMode to the text decode functions and only apply the trimming if non-strict parsing is requested.

@Serial-ATA
Copy link
Owner

Thanks!

@Serial-ATA Serial-ATA merged commit 7398602 into Serial-ATA:main Oct 25, 2023
12 checks passed
@uklotzde uklotzde deleted the decode-text-trim-end-nulls branch October 26, 2023 10:10
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.

None yet

2 participants