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

Can salvage partial record #43

Merged
merged 4 commits into from
Dec 31, 2023
Merged

Can salvage partial record #43

merged 4 commits into from
Dec 31, 2023

Conversation

abelcheung
Copy link
Owner

Makes path retrieval and conversion more robust, so rifiuti2 can read partial unicode trash path and still manage to display broken data.

Closes #42

Instead of preallocating a large buffer during path conversion, now it starts with a smaller buffer, and resize if necessary
- Allows per-format callback func
- Impl func for json string escape
- Update json/xml tests for bad encoding
If a record contains partially truncated uni code path, program can now handle the display of broken path instead of discarding whole record.
@abelcheung abelcheung added this to the 0.8.1 milestone Dec 31, 2023
@abelcheung abelcheung linked an issue Dec 31, 2023 that may be closed by this pull request
@abelcheung abelcheung merged commit 168046f into master Dec 31, 2023
4 checks passed
@abelcheung abelcheung deleted the fix/issue42 branch January 4, 2024 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Salvage a partial record
1 participant