2010-07-29, 04:25:32
Hello,
surely your server has not utf8 encoding by default. I did not know much about this, but I resolved something like it, doing a changes in admin/inc/contactform.php, by example:
change the line:
$cdata = $thislog->addChild('from');
by this:
$cdata->addCData(utf8_encode($from));
change the line:
$cdata = $thislog->addChild('subject');
by
$cdata->addCData(utf8_encode($subject));
Change the line:
foreach ( $temp as $key => $value ) {
$body .= ucfirst($key) .": ". $value ."<br />";
$cdata = $thislog->addChild(clean_url($key));
$cdata->addCData($value);
}
by
foreach ( $temp as $key => $value ) {
$body .= ucfirst($key) .": ". $value ."<br />";
$cdata = $thislog->addChild(clean_url($key));
$cdata->addCData(utf8_encode($value));
}
For trying......
Too, change the encoding of the browser, to see if it looks good; and check what type of encoding is used.
Regards.
surely your server has not utf8 encoding by default. I did not know much about this, but I resolved something like it, doing a changes in admin/inc/contactform.php, by example:
change the line:
$cdata = $thislog->addChild('from');
by this:
$cdata->addCData(utf8_encode($from));
change the line:
$cdata = $thislog->addChild('subject');
by
$cdata->addCData(utf8_encode($subject));
Change the line:
foreach ( $temp as $key => $value ) {
$body .= ucfirst($key) .": ". $value ."<br />";
$cdata = $thislog->addChild(clean_url($key));
$cdata->addCData($value);
}
by
foreach ( $temp as $key => $value ) {
$body .= ucfirst($key) .": ". $value ."<br />";
$cdata = $thislog->addChild(clean_url($key));
$cdata->addCData(utf8_encode($value));
}
For trying......
Too, change the encoding of the browser, to see if it looks good; and check what type of encoding is used.
Regards.