Configuration

Zend\Escaper\Escaper has only one configuration option available, and that is the encoding to be used by the Escaper instance.

The default encoding is utf-8. Other supported encodings are:

If an unsupported encoding is passed to Zend\Escaper\Escaper, a Zend\Escaper\Exception\InvalidArgumentException will be thrown.