I wrote a PHP file which should insert values in a MySQL database.
I explain my problem with an example.
include 'db_connect.php';
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET 'utf8'");
$title = 'knödel';
echo $title;
$sql="INSERT INTO RECIPES (title) VALUES ('$title')";
In the database, there is 'kn';
I cut the string from the umlaut.