Class DecomposingNormalizer

See the Rust documentation for DecomposingNormalizer for more information.

Constructors

Accessors

  • get ffiValue(): number
  • Returns number

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

  • 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-16 is normalized up to

    See the Rust documentation for split_normalized_utf16 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

""