cvs: pearweb /include/Damblan RSS.php

From: Date: Fri, 24 Mar 2006 00:51:47 +0000
Subject: cvs: pearweb /include/Damblan RSS.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-39297@lists.php.net to get a copy of this message
pajoye Fri Mar 24 00:51:47 2006 UTC Modified files: /pearweb/include/Damblan RSS.php Log: - #6727 wrong encoding, define the enconding in the header as well http://cvs.php.net/viewcvs.cgi/pearweb/include/Damblan/RSS.php?r1=1.12&r2=1.13&diff_format=u Index: pearweb/include/Damblan/RSS.php diff -u pearweb/include/Damblan/RSS.php:1.12 pearweb/include/Damblan/RSS.php:1.13 --- pearweb/include/Damblan/RSS.php:1.12 Sun Jul 24 14:00:55 2005 +++ pearweb/include/Damblan/RSS.php Fri Mar 24 00:51:47 2006 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Author: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: RSS.php,v 1.12 2005/07/24 14:00:55 pajoye Exp $ + $Id: RSS.php,v 1.13 2006/03/24 00:51:47 pajoye Exp $ */ require_once "PEAR.php"; @@ -26,7 +26,7 @@ * * @author Martin Jansen <mj@php.net> * @package Damblan - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ */ class Damblan_RSS { @@ -102,7 +102,7 @@ if (PEAR::isError($ret)) { PEAR::raiseError($ret); } else { - header("Content-Type: text/xml"); + header("Content-Type: text/xml; charset=iso-8859-1"); print "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n"; print $ret; }

« previous php.pear.cvs (#39297) next »