WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

SimplePie::set_output_encoding() public WP 1.0

Set the output encoding

Ищем WP-разработчика! Фулл-тайм, удаленка, хорошая зарплата, соц. пакет. Подробности.
Компания Boosta.

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 {@see handle_content_type()}, and is similar to {@see 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 mbstring, iconv, or both. See http://simplepie.org/wiki/faq/Supported_Character_Encodings for more information.

{} Это метод класса: SimplePie{}

Хуков нет.


null. Ничего.


$SimplePie = new SimplePie();
$SimplePie->set_output_encoding( $encoding );
По умолчанию: 'UTF-8'

Код SimplePie::set_output_encoding() WP 5.8.2

public function set_output_encoding($encoding = 'UTF-8')