Something went wrong. Try again.
Manifests and a static winget source for jcollie's Windows programs, built and signed on Linux.
Something went wrong. Try again.
476 B · 13 lines
Python
at main
1234567891011121314# SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie <jeff@ocjtech.us># SPDX-License-Identifier: MIT
"""String handling shared by the index writer and the normalizer."""
def fold_case(value: str) -> str: """Unicode default case folding, as winget's `Utility::FoldCase` does with ICU.
`str.casefold` is the same full default folding (ß becomes ss, and so on) that `ucasemap_utf8FoldCase` performs with `U_FOLD_CASE_DEFAULT`. """ return value.casefold()