Allows you to override SimplePie's output to match that of your webpage.This is useful for times when your webpages are not being served as UTF-8. This setting will be obeyed by handle_content_type(), and is similar to set_input_encoding(). It should be noted, however, that not all character encodings can support all characters. If your page is being served as ISO-8859-1 and you try to display a Japanese feed, you'll likely see garbled characters.Because of this, it is highly recommended to ensure that your webpages are served as UTF-8. The number of supported character encodings depends on whether your web host supports <a href="http://php.net/mbstring">http://php.net/mbstring</a> mbstring, <a href="http://php.net/iconv">http://php.net/iconv</a> iconv, or both. See <a href="http://simplepie.org/wiki/faq/Supported_Character_Encodings">http://simplepie.org/wiki/faq/Supported_Character_Encodings</a> for more information.
Signature, return type and hooks compared across 5 parsed releases.
6.9.7
Return type changed from none to void.verified against source
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/SimplePie/src/SimplePie.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.