What now?
The problem is not solved. I put
$result0 = mysql_query('SET NAMES utf8');
if (!$result0) {
die('invalid request: ' . mysql_error());
}
in the connection string for the mysql database but it still does not work. What part of the code is ruining the correct character transmission?