Accented Characters with html Form

Giganews Newsgroups
Subject: Accented Characters with html Form
Posted by:  tochiro (
Date: Tue, 10 Apr 2007


I have a problem with accented characters written by visitors of my
web page on a contact form.  These characters are converted to weird
signs and I do not understand why.

The page with the contact form is written in French with the following
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1" />

The form data are sent to a PHP page.  Here is part of the PHP code:
$formContent =    "Email: ".$_POST['email']."
        ."Name: ".$_POST['name']."

mail($myEmail,$subject,$formContent,"From: $myEmail
Cc: $me");

What sould I do?  Thank you for your advice.