|It is working if you add| html_entity_decode.
||

pmform.php:

$msgtext = htmlentities($msgtext , ENT_NOQUOTES, 'utf-8'); --> UTF8--> HTML $msgtext = html_entity_decode($msgtext ); --> HTML --> DE Chars
||

Maybe there is an better way, but for now i will use this way.

Dirk
||
||
Am 02.01.2012 23:52, schrieb John Rankin:

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.

Dirk

Am 30.12.2011 21:41, schrieb 123_dirk:
Hi,

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

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to