Hello there!.
I use an xml flash website and in it there is a contact form. The form works just fine, but when i fill in the info with greek characters, at the incoming mail i see squares and question marks(unicode problem). For this form i use these files:
mysite_contact_form.php
<style type="text/css">
<!--
body,td,th {
font-family: Arial, Helvetica, sans-serif;
}
-->
</style><?php
$sendTo = "mail@mail.com";
$subject = "Website name";
$message = $_GET['message'];
$email = $_GET['email'];
$name = $_GET['name'];
//send mail
$headers = "From: $email
";
//$headers .= 'MIME-Version: 1.0' . "
";
//$headers .= 'Content-type: text/html; charset=UTF-8' . "
";
$msg = "The following message comes from:
Name:".$name."
E-mail:".$email."
Message:".$message."";
mail($sendTo, $subject, $msg, $headers);
echo "status=formOk";
?>
contact.xml
<?xml version="1.0" encoding="utf-8" ?>
<contacts><![CDATA[Check out our page ]]></contacts>
config.xml
<?xml version="1.0" encoding="utf-8" ?>
<config>
<isEliteModule>true</isEliteModule>
<fullscreen_button_visible>false</fullscreen_button_visible>
<background_active>false</background_active>
<background_default>backgrounds/bkg_carbon_02.swf</background_default>
<default_color>0xEEC800</default_color>
</config>
Any ideas? Should i perhaps insert some code at .fla to make the greek characters at incoming emails appear?
Thank you in advance