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

Truncation of short_abstract in Thoth ONIX results in Invalid UTF-8 sequences #589

Closed
ja573 opened this issue Apr 8, 2024 · 0 comments · Fixed by #590
Closed

Truncation of short_abstract in Thoth ONIX results in Invalid UTF-8 sequences #589

ja573 opened this issue Apr 8, 2024 · 0 comments · Fixed by #590
Assignees
Labels
bug Something isn't working

Comments

@ja573
Copy link
Member

ja573 commented Apr 8, 2024

We get a runtime error when truncating a multi-byte character in short_abstract in onix3_thoth.rs:L426 (the truncation point falls on an invalid UTF-8 boundary(

@ja573 ja573 added the bug Something isn't working label Apr 8, 2024
@ja573 ja573 self-assigned this Apr 8, 2024
@ja573 ja573 linked a pull request Apr 8, 2024 that will close this issue
@ja573 ja573 closed this as completed in 68a1366 Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant