Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.0

Request #2310 xml_rss constructor should pass xml_parser options
Submitted: 2004-09-10 12:47 UTC
From: nospam2 at multimedia-werkstatt dot com Assigned: mj
Status: Closed Package: XML_RSS
PHP Version: 4.3.5 OS: any
Roadmaps: (Not assigned)    
Subscription  


 [2004-09-10 12:47 UTC] nospam2 at multimedia-werkstatt dot com
Description: ------------ the constructor should pass encoding parameters to the xml_parser like this one: /** * Constructor * * @access public * @param mixed File pointer or name of the RDF file. * @return void */ function XML_RSS($handle = '', $srcenc = null, $mode = 'event', $tgtenc = null) { $this->XML_Parser( $srcenc, $mode, $tgtenc); if (@is_resource($handle)) { $this->setInput($handle); } elseif ($handle != '') { $this->setInputFile($handle); } else { $this->raiseError('No filename passed.'); } } this is required to support feeds with different encodings (like utf-8 or something..)

Comments

 [2004-11-05 17:02 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!