Skip to content

Conversation

@mobiusklein
Copy link
Owner

Trying to parse some mzML files written by ProteoWizard from Waters files with $\mu$ written in latin-1 in id of the chromatogram elements caused fatal crashes as this character's byte value is 181, outside the range supported by ASCII and UTF-8.

This will fall back to an encoding_rs-based decode of the string. It does not handle the case where the entire mzML file is not written in UTF8, which would be nearly irrecoverable.

@mobiusklein mobiusklein merged commit 4bf2260 into main Dec 1, 2025
12 checks passed
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.

1 participant