setCharsetEncoding method

Future<void> setCharsetEncoding(
  1. String charsetName
)

Set the charsetName to use.

This must be supported by the current converter else an exception is thrown.

Implementation

Future<void> setCharsetEncoding(String charsetName) async {
  _charsetConverter.charsetName = charsetName;
}