logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: pearweb /include/Damblan RSS.php: msg#00068

Subject: cvs: pearweb /include/Damblan RSS.php
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@xxxxxxx>                                   |
    +----------------------------------------------------------------------+
-   $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@xxxxxxx>
  * @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;
         }



<Prev in Thread] Current Thread [Next in Thread>