Skip to content

docs: document Unicode sequence representation - #133

Open
whitescreendev wants to merge 1 commit into
rapidfuzz:mainfrom
whitescreendev:docs/unicode-sequence-units
Open

whitescreendev wants to merge 1 commit into
rapidfuzz:mainfrom
whitescreendev:docs/unicode-sequence-units

Conversation

@whitescreendev

Copy link
Copy Markdown

Summary

Document how input representation determines the sequence units used by the
C++ string-distance algorithms.

The C++ API is generic over the supplied string or range type, so UTF-8 in
std::string, UTF-16 in std::u16string, and UTF-32 in std::u32string
expose different sequence units to the algorithm.

The documentation also clarifies that Unicode normalization and
grapheme-cluster segmentation are not performed automatically.

No implementation behavior is changed.

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