1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:17:36 +00:00

LibUnicode: Add to-and-from string converters for NormalizationForm

This commit is contained in:
Timothy Flynn 2022-10-06 10:45:59 -04:00 committed by Linus Groh
parent 462c49ad55
commit 19b758ce8b
2 changed files with 31 additions and 0 deletions

View file

@ -25,6 +25,9 @@ enum class NormalizationForm {
NFKC
};
NormalizationForm normalization_form_from_string(StringView form);
StringView normalization_form_to_string(NormalizationForm form);
[[nodiscard]] String normalize(StringView string, NormalizationForm form);
}