projects
/
banana.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ยค thing + #294
[banana.git]
/
banana
/
post.inc.php
diff --git
a/banana/post.inc.php
b/banana/post.inc.php
index
340d218
..
60f2986
100644
(file)
--- a/
banana/post.inc.php
+++ b/
banana/post.inc.php
@@
-44,7
+44,8
@@
class BananaPost
}
if (preg_match('!charset=([^;]*)\s*(;|$)!', $this->headers['content-type'], $matches)) {
- $this->body = iconv($matches[1], 'iso-8859-15', $this->body);
+ require_once 'banana/misc.inc.php';
+ $this->body = to_html($this->body, $matches[1]);
}
}