damn I hate euro symbols
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Mon, 7 Feb 2005 00:08:19 +0000 (00:08 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 4 Jan 2008 23:34:24 +0000 (00:34 +0100)
git-archimport-id: opensource@polytechnique.org--2005/banana--mainline--1.0--patch-17

banana/post.inc.php

index 499d56b..340d218 100644 (file)
@@ -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);
         }
     }