From: x2000habouzit Date: Sun, 24 Oct 2004 18:28:53 +0000 (+0000) Subject: better encoding X-Git-Tag: xorg/old~1183 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2d1ce51d07e40c64af304b8da5814dbdf47c2ac6;p=platal.git better encoding --- diff --git a/include/newsletter.inc.php b/include/newsletter.inc.php index cf192e8..f5e06f9 100644 --- a/include/newsletter.inc.php +++ b/include/newsletter.inc.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: newsletter.inc.php,v 1.23 2004-10-24 16:56:13 x2000habouzit Exp $ + $Id: newsletter.inc.php,v 1.24 2004-10-24 18:28:53 x2000habouzit Exp $ ***************************************************************************/ define('FEMME', 1); @@ -85,7 +85,7 @@ class NewsLetter { function title($mail_enc=false) { $title = stripslashes($this->_title); - return $mail_enc ? "=?ISO-8859-1?Q?".quoted_printable_encode($title,200)."?=" : $title;; + return $mail_enc ? "=?ISO-8859-1?Q?".quoted_printable_encode(str_replace(' ','_',$title),200)."?=" : $title;; } function head() { return stripslashes($this->_head); }