[pmwiki-users] How do I enabel utf-8 encoding in the mailform recipe based on pmform?
5ko at 5ko.fr
Thu Mar 13 16:15:05 CDT 2008
On Thursday 13 March 2008, Martin Kerz wrote:
> E-Mails that are sent using the mailform
> recipe based on pmform ( http://www.pmwiki.org/pmform/PmForm/MailForm)
> on an utf-8 econded site, don't get delivered correctly, i.e. not in
> utf-8 encoding. Can I somehow change this?
To see the message text, you need to at least add such a line
$PmFormMailHeaders = 'Content-type: text/plain; charset="utf-8"';
If you need to correctly encode the e-mail subject, you should also add
$_POST['subject'] = strtoupper("=?$Charset?B?")
More information about the pmwiki-users