need urgent help with html_entity_decode
I have a form in spanish language, but it doesn't display the spanish characters, like "Ñ" or accents when it sends the email
Example:
<form action="" method="post" name="emailContact" id="emailContact" onsubmit="">
<div style="width:100%">
<label for="Contact_Name" >Your name:</label>
<br />
<span id="sprytextfield1">
<input name="Contact_Name" type="text" class="inputValue" id="Contact_Name" onblur="if (document.getElementById('nameServerError')) document.getElementById('nameServerError').style.display='none'" value="<?php echohtml_entity_decode(ValidatedField("contact","Contact_Name")) ?>" />
<span class="textfieldRequiredMsg">A value is required.</span></span>
<input name="addblock" type="text" id="addblock" style="display:none" value="" />
<?php
if (ValidatedField("contact","contact")) {
if ((strpos((",".ValidatedField("contact","contact").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<span id="nameServerError" class="textfieldServerError">Please provide your name.</span>
<?php //WAFV_Conditional contact.php contact(1:)
}
}
}?>
I also need it in a checkbox group, but I don't know how to make it display properly when sending the email:
<label>
<input type="checkbox" name="Idiomas[]" value="Inglés" id="Idiomas_0" />
Inglés</label>
Please help!