Ticket #4330: rss-encoding.diff
File rss-encoding.diff, 648 bytes (added by , 16 years ago) |
---|
-
wp-includes/rss.php
42 42 if ( !function_exists('xml_parser_create') ) 43 43 trigger_error( "Failed to load PHP's XML Extension. http://www.php.net/manual/en/ref.xml.php" ); 44 44 45 $parser = @xml_parser_create( );45 $parser = @xml_parser_create("UTF-8"); 46 46 47 47 if ( !is_resource($parser) ) 48 48 trigger_error( "Failed to create an instance of PHP's XML parser. http://www.php.net/manual/en/ref.xml.php"); … … 852 852 return false; 853 853 } 854 854 } 855 ?> 856 No newline at end of file 855 ?>