Class ICU4XComposingNormalizer

See the Rust documentation for ComposingNormalizer for more information.

Constructors

Methods

  • 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_utf8 for more information.

    Parameters

    • s: string

    Returns boolean

  • Return the index a slice of potentially-invalid UTF-8 is normalized up to

    See the Rust documentation for is_normalized_utf8_up_to for more information.

    Parameters

    • s: string

    Returns number

  • 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.

    Parameters

    • s: string

    Returns boolean

  • Return the index a slice of potentially-invalid UTF-8 is normalized up to

    See the Rust documentation for is_normalized_utf16_up_to for more information.

    Parameters

    • s: string

    Returns number

  • Normalize a string

    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 normalize_utf8 for more information.

    Parameters

    • s: string

    Returns string