From: Pierre Habouzit (MadCoder Date: Mon, 7 Feb 2005 00:08:19 +0000 (+0000) Subject: damn I hate euro symbols X-Git-Tag: 1.8~307 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ad7b9c56adeb270f613f2bec1c0f0de26e852e46;p=banana.git damn I hate euro symbols git-archimport-id: opensource@polytechnique.org--2005/banana--mainline--1.0--patch-17 --- diff --git a/banana/post.inc.php b/banana/post.inc.php index 499d56b..340d218 100644 --- a/banana/post.inc.php +++ b/banana/post.inc.php @@ -44,7 +44,7 @@ class BananaPost } if (preg_match('!charset=([^;]*)\s*(;|$)!', $this->headers['content-type'], $matches)) { - $this->body = iconv($matches[1], 'iso-8859-1', $this->body); + $this->body = iconv($matches[1], 'iso-8859-15', $this->body); } }