generated from Cyberbeni/MultiArchSwiftDockerfileExample
Swift wrapper for JuliaStrings/utf8proc
- Swift 51.1%
- Shell 47.4%
- C 1.5%
|
All checks were successful
ci/woodpecker/push/pr-checks Pipeline was successful
Reviewed-on: #4 |
||
|---|---|---|
| .vscode | ||
| .woodpecker | ||
| scripts | ||
| Sources | ||
| Tests/Utf8ProcTests | ||
| .editorconfig | ||
| .gitignore | ||
| .gitmodules | ||
| .swiftformat | ||
| LICENSE.md | ||
| Package.resolved | ||
| Package.swift | ||
| README.md | ||
Description
This project is a Swift wrapper for JuliaStrings/utf8proc and gives a replacement to String normalization APIs in Foundation.
let original = "kémény⁵"
let nfc = original.utf8proc_precomposedStringWithCanonicalMapping
let nfd = original.utf8proc_decomposedStringWithCanonicalMapping
let nfkc = original.utf8proc_precomposedStringWithCompatibilityMapping
let nfkd = original.utf8proc_decomposedStringWithCompatibilityMapping