isNormalized method
- String s
Check if a string is normalized
Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs according to the WHATWG Encoding Standard.
See the Rust documentation for is_normalized_utf16
for more information.
Implementation
bool isNormalized(String s) {
final temp = _FinalizedArena();
final result = _icu4x_ComposingNormalizer_is_normalized_utf16_mv1(_ffi, s._utf16AllocIn(temp.arena));
return result;
}