Hello
I am trying to make a form that can send emails (for contact page). It send the messages in English fine, but French characters become jiberish.
Here is my code:
the form:
the confirmation page:
<? $to = "[email protected]"; $subject = "Feedback from site"; $headers = "From: [email protected]"."\r\n"."Content-Type: text/plain; charset=utf-8"."\r\n"; $body = Here is a feedback\n\: $NtsCmnts"; mail($to, $subject, $body, $headers); ?>The same form works for English characters but not for French or other languages.
What am I doing wrong?
thanks in advance.
J