Skip to content

Document normalization flags for single-codepoint decomposition - #375

Open
ac1982 wants to merge 1 commit into
JuliaStrings:masterfrom
ac1982:docs/decomposition-flags
Open

ac1982 wants to merge 1 commit into
JuliaStrings:masterfrom
ac1982:docs/decomposition-flags

Conversation

@ac1982

@ac1982 ac1982 commented Oct 19, 2026

Copy link
Copy Markdown

Document the normalization flags accepted by utf8proc_decompose_char(), addressing the remaining flag-documentation question in #290.

Both UTF8PROC_DECOMPOSE and UTF8PROC_COMPOSE enable decomposition in this function; composition is a later utf8proc_normalize_utf32() step. Also state that UTF8PROC_COMPAT requires one of these flags, while transformations such as case folding can still run without them. The buffer-size note added by #291 is unchanged.

Validation: compiled and ran public C API examples for canonical/compatibility decomposition, size queries, subsequent composition and case folding; make check passes. Doxygen HTML links render correctly, with the same 23 existing warnings as the baseline. Julia was unavailable for test-data extraction, so the identical regex extraction was performed with Python. No runtime or ABI changes.

Prepared with OpenAI Codex assistance.

This branch has not been deployed

No deployments
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