You are here: Documentation » API Reference » SimplePie » get_encoding()
Table of Contents
get_encoding()
Description
class SimplePie { get_encoding () }
Returns the character encoding that was outputted by SimplePie.
Availability
- Available since SimplePie Preview Release.
Examples
Display the character encoding
$feed = new SimplePie(); $feed->set_feed_url('http://simplepie.org/blog/feed/'); $feed->init(); $feed->handle_content_type(); echo $feed->get_encoding();
See Also
reference/simplepie/get_encoding.txt · Last modified: 2011/03/06 03:56 (external edit)