public function convertEncoding($newEncoding){

		if(!\is_string($newEncoding)){
			throw new \InvalidArgumentException('$newEncoding must be a string');
		}
		
		$newEncoding = \strtoupper($newEncoding);
		
		return new static(\mb_convert_encoding($this->_Value, $newEncoding, $this->_Encoding),
				$newEncoding);
		
	}
public function convertEncoding($newEncoding){

		if(!\is_string($newEncoding)){
			throw new \InvalidArgumentException('$newEncoding must be a string');
		}
		
		$newEncoding = \strtoupper($newEncoding);
		
		return new static(\mb_convert_encoding($this->_Value, $newEncoding, $this->_Encoding),
				$newEncoding);
		
	}
public function convertEncoding ( $ newEncoding ) { if ( ! \ is_string ( $ newEncoding ) ) { throw new \ InvalidArgumentException ( '$newEncoding must be a string' ) ; } $ newEncoding = \ strtoupper ( $ newEncoding ) ; return new static ( \ mb_convert_encoding ( $ this -> _Value , $ newEncoding , $ this -> _Encoding ) , $ newEncoding ) ; }
Converts the string to a new encoding
@link https://php.net/manual/en/mbstring.supported-encodings.php
@param string $newEncoding
@return \static
Converts the string to a new encoding