Re: mail() encoded subject line
| From: | Roman Neuhauser | Date: | Mon, 16 Oct 2006 21:36:20 +0000 |
| Subject: | Re: mail() encoded subject line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243207@lists.php.net to get a copy of this message | ||
# emil@knmedical.se / 2006-10-16 14:32:12 +0200:
> I hope this is not too off topic but I have a problem when I use mail().
> When I add the header Content-Type: text/plain; charset=UTF-8 the body
> of the mail is encoded fine but the subject is not encoded. I've tried
> to utf8_encode() and utf8_decode() the subject text but neither helps.
>
> Any idea of how to pass what encoding to use on an email subject?
I see others already gave you some fish so I'll just offer you
the fishing manual: http://www.faqs.org/rfcs/rfc2047.html
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991