Skip to content

check max size of utf8proc_decompose_char buffer #291

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stevengj
Copy link
Member

As discussed in #290, it is nice to have some information in the documentation about the maximum buffer size required for utf8proc_decompose_char. However, this can only be a hint, since it may increase in future Unicode versions.

Added a documentation hint and a check to ensure that the hint remains accurate as we update utf8proc.

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