WordPress at Your Fingertips
function is not described

SimplePie_Sanitize::set_output_encoding() public WP 1.0

{} It's a method of the class: SimplePie_Sanitize{}

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Sanitize = new SimplePie_Sanitize();
$SimplePie_Sanitize->set_output_encoding( $encoding );
$encoding **
-
Default: 'UTF-8'

Code of SimplePie_Sanitize::set_output_encoding() WP 5.8.2

public function set_output_encoding($encoding = 'UTF-8')
{
	$this->output_encoding = (string) $encoding;
}