[pmwiki-users] Mail form without UTF8
john.rankin at affinity.co.nz
Mon Jan 2 16:52:04 CST 2012
> I have a German Page and Users can send a mail from my page.
> In German we have characters like "äüö" or in HTML äüö.
> But because of the UTF-8, the mails are with encodes chars.
> Am 30.12.2011 21:41, schrieb 123_dirk:
>> i'm using the standard mailform but the text in the mail is UTF8 coded.
>> Is it possible to disable UTF8 just for the Mailtext?
One approach may be to transform the utf8-encoded characters into the
corresponding html entities:
$text = htmlentities($text, ENT_NOQUOTES, 'utf-8');
where $text is a string that contains the mail message
More information about the pmwiki-users