You are here

public static function Native::getSupportedEncodings in Zircon Profile 8

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

Get a list of supported character encodings

Return value

string[]

Overrides StringWrapperInterface::getSupportedEncodings

2 calls to Native::getSupportedEncodings()
Native::isSupported in vendor/zendframework/zend-stdlib/src/StringWrapper/Native.php
Check if the given character encoding is supported by this wrapper and the character encoding to convert to is also supported.
Native::setEncoding in vendor/zendframework/zend-stdlib/src/StringWrapper/Native.php
Set character encoding working with and convert to

File

vendor/zendframework/zend-stdlib/src/StringWrapper/Native.php, line 55

Class

Native

Namespace

Zend\Stdlib\StringWrapper

Code

public static function getSupportedEncodings() {
  return StringUtils::getSingleByteEncodings();
}