Ticket #6607: 6607.diff
| File 6607.diff, 606 bytes (added by , 18 years ago) |
|---|
-
wp-includes/rss.php
61 61 62 62 $this->parser = $parser; 63 63 64 switch( @strtoupper(get_option('blog_charset')) ) 65 { 66 case 'UTF-8': 67 xml_parser_set_option( $this->parser, XML_OPTION_TARGET_ENCODING, 'UTF-8' ); 68 break; 69 case 'ISO-8859-1': 70 xml_parser_set_option( $this->parser, XML_OPTION_TARGET_ENCODING, 'ISO-8859-1' ); 71 break; 72 } 73 64 74 # pass in parser, and a reference to this object 65 75 # setup handlers 66 76 #