Hi,
it's difficult to guess anything since I don't know the code or how the data looks like. But it seems like adding
header("Content-Type: text/html;charset=utf-8");
on top of the script solves the problem. I tested the following script with Firefox and IE with several different charsets including Japanese. The submitted data always displayed correctly.
<?PHP
header("Content-Type: text/html;charset=utf-8");
if (isset($_POST['test'])) {
echo $_POST['test'];
}
?>
<html>
<head>
<title>title</title>
</head>
<body>
<form name="theform" action="<?PHP echo $_SERVER['PHP_SELF']; ?>" method="post">
<input type="text" name="test">
<input type="submit" name="submit" value="submit">
</form>
</body>
</html>
So basically that means that you might need to have a strings you want to display in utf-8 format (or convert strings in Windows-1256 encoding to utf-8 first with e.g. iconv before displaying them).
That header causes the browsers (at least the two I tested) to submit the form data in utf-8 format.
Thomas