setCustomCharset

open fun setCustomCharset(charset: String? = null)

Sets the current custom character encoding override of @web_view.

The custom character encoding will override any text encoding detected via HTTP headers or META tags. Calling this method will stop any current load operation and reload the current page. Setting the custom character encoding to null removes the character encoding override.

Parameters

charset

a character encoding name or null