Skip to content

WriteOptions: Add lossy_text_encoding option - #594

Merged
Serial-ATA merged 1 commit into
mainfrom
text-encoding
Jan 19, 2026
Merged

Serial-ATA merged 1 commit into
mainfrom
text-encoding

Conversation

@Serial-ATA

Copy link
Copy Markdown
Owner

Text encoding is now fallible, with the option to replace invalid characters with '?' or return an error. For now, the only fallible encoding is TextEncoding::Latin1.

@Serial-ATA Serial-ATA added this to the 0.23.0 milestone Jan 18, 2026
@Serial-ATA
Serial-ATA marked this pull request as ready for review January 18, 2026 22:27
Text encoding is now fallible, with the option to replace invalid characters with `'?'` or return an error. For now, the only fallible encoding is `TextEncoding::Latin1`.
@NikkoFox

NikkoFox commented Jan 19, 2026 •

Copy link
Copy Markdown
Contributor

In my case, there’s no more panic, thank you

@Serial-ATA
Serial-ATA merged commit b921131 into main Jan 19, 2026
@Serial-ATA
Serial-ATA deleted the text-encoding branch January 19, 2026 18:45
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.

2 participants