| 7878 | } |
| 7879 | |
| 7880 | void decompose_nfc(std::u32string& input) { |
| 7881 | /** |
| 7882 | * Decompose the domain_name string to Unicode Normalization Form C. |
| 7883 | * @see https://www.unicode.org/reports/tr46/#ProcessingStepDecompose |
| 7884 | */ |
| 7885 | auto [decomposition_needed, additional_elements] = |
| 7886 | compute_decomposition_length(input); |
| 7887 | if (decomposition_needed) { |
| 7888 | decompose(input, additional_elements); |
| 7889 | } |
| 7890 | sort_marks(input); |
| 7891 | } |
| 7892 | |
| 7893 | void compose(std::u32string& input) { |
| 7894 | /** |
no test coverage detected