mail() encoded subject line

From: Date: Mon, 16 Oct 2006 12:32:12 +0000
Subject: mail() encoded subject line
Groups: php.general 
Request: Send a blank email to php-general+get-243182@lists.php.net to get a copy of this message
Hi, 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? Thanks! Regards Emil

« previous php.general (#243182) next »