note 69790 deleted from function.mail by bobby
| From: | bobby@php.net | Date: | Tue, 10 Oct 2006 20:52:06 +0000 |
| Subject: | note 69790 deleted from function.mail by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118366@lists.php.net to get a copy of this message | ||
Note Submitter: vincent dot lepot at smile dot fr
----
The encoding function of lg83 at free dot fr has a little bug when no 8-bit characters exists in the
string to encode. Here is a little patch :
else
{
$buff .= $c;
- if ($c == " ")
+ if (($c == " ") or ($i == strlen($s)-1))
{
$r .= $buff;