You are here

public function Escaper::getEncoding in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-escaper/src/Escaper.php \Zend\Escaper\Escaper::getEncoding()

Return the encoding that all output/input is expected to be encoded in.

Return value

string

2 calls to Escaper::getEncoding()
Escaper::fromUtf8 in vendor/zendframework/zend-escaper/src/Escaper.php
Converts a string from UTF-8 to the base encoding. The base encoding is set via this class' constructor.
Escaper::toUtf8 in vendor/zendframework/zend-escaper/src/Escaper.php
Converts a string to UTF-8 from the base encoding. The base encoding is set via this class' constructor.

File

vendor/zendframework/zend-escaper/src/Escaper.php, line 134

Class

Escaper
Context specific methods for use in secure output escaping

Namespace

Zend\Escaper

Code

public function getEncoding() {
  return $this->encoding;
}