/* * Copyright (c) 2022, mat * Copyright (c) 2024, Tim Flynn * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Unicode { enum class NormalizationForm { NFD, NFC, NFKD, NFKC }; NormalizationForm normalization_form_from_string(StringView); StringView normalization_form_to_string(NormalizationForm); String normalize(StringView string, NormalizationForm form); }