MCPcopy Create free account
hub / github.com/NativeScript/android / normalize

Function normalize

test-app/runtime/src/main/cpp/ada/ada.cpp:7974–7981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7972}
7973
7974void normalize(std::u32string& input) {
7975 /**
7976 * Normalize the domain_name string to Unicode Normalization Form C.
7977 * @see https://www.unicode.org/reports/tr46/#ProcessingStepNormalize
7978 */
7979 decompose_nfc(input);
7980 compose(input);
7981}
7982
7983} // namespace ada::idna
7984/* end file src/normalization.cpp */

Callers 2

from_ascii_to_asciiFunction · 0.85
to_asciiFunction · 0.85

Calls 2

decompose_nfcFunction · 0.85
composeFunction · 0.85

Tested by

no test coverage detected