You are here

public function StringWrapperInterface::setEncoding in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/StringWrapper/StringWrapperInterface.php \Zend\Stdlib\StringWrapper\StringWrapperInterface::setEncoding()

Set character encoding working with and convert to

Parameters

string $encoding The character encoding to work with:

string|null $convertEncoding The character encoding to convert to:

Return value

StringWrapperInterface

1 method overrides StringWrapperInterface::setEncoding()
AbstractStringWrapper::setEncoding in vendor/zendframework/zend-stdlib/src/StringWrapper/AbstractStringWrapper.php
Set character encoding working with and convert to

File

vendor/zendframework/zend-stdlib/src/StringWrapper/StringWrapperInterface.php, line 37

Class

StringWrapperInterface

Namespace

Zend\Stdlib\StringWrapper

Code

public function setEncoding($encoding, $convertEncoding = null);