public function encoding($charset) {
		if (!function_exists('stream_encoding')) {
			return false;
		}
		return is_resource($this->_resource) ? stream_encoding($this->_resource, $charset) : false;
	}
public function encoding($charset) {
		if (!function_exists('stream_encoding')) {
			return false;
		}
		return is_resource($this->_resource) ? stream_encoding($this->_resource, $charset) : false;
	}
public function encoding ( $ charset ) { if ( ! function_exists ( 'stream_encoding' ) ) { return false ; } return is_resource ( $ this -> _resource ) ? stream_encoding ( $ this -> _resource , $ charset ) : false ; }
Sets the character set for stream encoding if possible. The `stream_encoding`
function is not guaranteed to be available as it is seems as if it's experimental
or just not officially documented. If the function is not available returns `false`.

@link http://php.net/function.stream-encoding.php stream_encoding()
@param string $charset
@return boolean Returns `false` if `stream_encoding()` function does not exist, boolean
result of `stream_encoding()` otherwise.
Sets the character set for stream encoding if possible . The stream_encoding function is not guaranteed to be available as it is seems as if it s experimental or just not officially documented . If the function is not available returns false .