# Problem - PHP form with french special characters

**URL:** <https://forum.kirupa.com/t/problem-php-form-with-french-special-characters/33523>\
**Category:** Uncategorized\
**Created:** [October 20, 2003, 6:35pm UTC](https://forum.kirupa.com/t/problem-php-form-with-french-special-characters/33523 "2003-10-20T18:35:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neuhaus3000](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/neuhaus3000/32/168_2.png) [@Neuhaus3000](https://forum.kirupa.com/u/Neuhaus3000)\
**Post date:** [October 20, 2003, 6:35pm UTC](https://forum.kirupa.com/t/problem-php-form-with-french-special-characters/33523/1 "2003-10-20T18:35:04Z")

</div>

Hello all,

I have created a PHP/Flash form.  
Everything works fine until someone  
enters french special characters like  
é è û ç … etc.

For example.  
If someone enters Frédérik in the _Name_ input text field,  
I will receive : FrÃ©dÃ©rik in the e-mail.

Is there a way to settle this? Any ideas?

Thanks! :beam:

Neuhaus3000

# The code :

**In my Flash movie, on the _send_ button**

on (release) {  
if (nom eq “”) {  
stop();  
} else {  
loadVariablesNum(“form.php”, 0, “POST”);  
gotoAndStop(“sent”);  
}  
nom = “”;  
courriel = “”;  
telephone = “”;  
commentaires = “”;  
}

**My PHP page**  
\<?  
$to = “[my-email@my-email.com](mailto:my-email@my-email.com)”;  
$nom = $\_POST[‘nom’];  
$courriel = $\_POST[‘courriel’];  
$telephone = $\_POST[‘telephone’];  
$commentaires = $\_POST[‘commentaires’];  
$subject = “Question de mon site Web”;

$message .= "Nom : $nom  
";  
$message .= "Courriel : $courriel  
";  
$message .= "Téléphone : $telephone  
";  
$message .= "Message : $commentaires  
";

$header = “From: $nom”;

mail($to, $subject, $message, $header);  
?\>
