Skip to content

Warning: TextEncoder constructor called with encoding label, which is ignored. #4516

Open
@jeroen

Description

@jeroen

Bindgen output contains:

const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );

This gives me a warning:

Warning: TextEncoder constructor called with encoding label, which is ignored.

I am using npm text-encoding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions