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

module_get_message_part: Avoid splitting UTF-8 sequences #862

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

sthibaul
Copy link
Collaborator

Strictly speaking, this could be also some character of an 8-bit encoding, but that's not very much a problem to spuriously reduce the maximum chunk by a few bytes for some characters. Less a problem than asking the caller to specify whether it's UTF-8.

Fixes #806

Strictly speaking, this could be also some character of an 8-bit encoding,
but that's not very much a problem to spuriously reduce the maximum chunk by
a few bytes for some characters. Less a problem than asking the caller
to specify whether it's UTF-8.

Fixes brailcom#806
@sthibaul sthibaul merged commit 5eb3f2f into brailcom:master Oct 22, 2023
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.

GenericMaxChunkLength causes incomplete multibyte characters
1 participant