surely it has to display now.. with this encoding charset...
Main Topics
Browse All TopicsI have made a flash contact form in PHP and everything is working fine, I receive the emails sent by the form, the only problem is that I'm french speaking and the content often includes special characters such as "è, é, à, ê, ..." and I they are displaying like that instead : Ã, ©, ...
below is my php code, I inserted a line to the header to tell that my charset is iso-8859-, but it doesn't work at all. I also changed the charset to the page containing the flash movie, but it doesn't work either.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
where can I check if mbstring configuration is enabled ?
>> just print phpinfo() and check search mbstring* ... you should find the configuration settings...
mbstring
=========
Multibyte Support enabled
Japanese support enabled
Simplified chinese support enabled
Traditional chinese support enabled
Korean support enabled
Russian support enabled
Multibyte (japanese) regex support enabled
mmm.... not sure...
hope checked here also, $headers .= 'Content-type: text/html; charset=iso-8859-1';
(the utf-8)
--------------------------
then you can check this without Flash for just verification ..., i have worked with one multilingual feedback form to display those unicode character display.. not sure.....
sorry... i could not suggest further.,
in the process php page.. .might be before you send the mail...
<?php
print '<pre>';
print_r ($_POST);
print '<pre>';
exit;
$sendTo = "test@test.com";
$subject = "subject";
$headers = "From: " . $_POST["FirstName"];
$headers .= "<" . $_POST["Email"] . ">\r\n";
$headers .= "Reply-To: " . $_POST["Email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["Email"];
$headers .= 'Content-type: text/html; charset=iso-8859-1';
$message = $_POST["ToComments"];
mail($sendTo, $subject, $message, $headers);
?>
>>> check here, whether the content is still correct before we send it to mail... just check .. if problem here.. then we have look those flash input control encoding or something to be applied..
oh.. don't you stop the process on the php process page ...?? any how you have to process the logics in php page as the mail function written page.. you can well stop and see the details...
as i said that could be executed and seen on browser from the php process page.. flash may not be loaded until you redirect or continue from php page..... anyhow just try this...
<?php
$sendTo = "test@test.com";
$subject = "subject";
$headers = "From: " . utf8_decode($_POST["FirstN
$headers .= "<" . utf8_decode($_POST["Email"
$headers .= "Reply-To: " . utf8_decode($_POST["Email"
$headers .= "Return-Path: " . utf8_decode($_POST["Email"
$headers .= 'Content-type: text/html; charset=iso-8859-1';
$message = utf8_decode($_POST["ToComm
mail($sendTo, $subject, $message, $headers);
?>
Text comes from flash in utf8 format, you need to decode those to use. Try those and let me know.
Business Accounts
Answer for Membership
by: logudotcomPosted on 2008-01-29 at 23:03:21ID: 20775204
try specifying the "charset=utf-8"
utf-8 for multilingual ...