unicode

Branch: main

Switch branches or tags

Branch: main
Go to file t

413 files indexed

History
Code

normalization/README.md

unicode-normalization

Unicode NFC, NFD, NFKC, and NFKD normalization for MoonBit, using Unicode 18.0.0 data from moonbit-community/unicode-data.

moon add moonbit-community/unicode-normalization

See the repository root README for API documentation and examples.

All text inputs accept StringView, including slices of larger strings. Existing calls with String arguments work through automatic view conversion. Text-producing operations still return String.

1# unicode-normalization23Unicode NFC, NFD, NFKC, and NFKD normalization for MoonBit, using Unicode418.0.0 data from `moonbit-community/unicode-data`.56```bash7moon add moonbit-community/unicode-normalization8```910See the repository root README for API documentation and examples.1112All text inputs accept `StringView`, including slices of larger strings.13Existing calls with `String` arguments work through automatic view conversion.14Text-producing operations still return `String`.15