php – The database does not recognize text with special characters, even in UTF-8

I have already made many changes to the code and have already done searches on several sites and nothing has solved my problem!

HTML code:

About the site

PHP code:

                session_start ();
$ servername = "localhost";
$ username = "root";
$ password = "";
$ db = "aeac";

// create a connection
$ conn = mysqli_connect ($ servername, $ username, $ password, $ db);

// check the connection
if (! $ conn) {
die ("The connection failed:". mysqli_connect_error);
}
if not {
if (isset ($ _ POST['edicaoSobreHome'])) {
$ edit = $ _POST['edicaoSobreHome'];
$ edit_encoded = utf8_encode ($ edit);
$ query = "UPDATE fields SET on_home = $ edit_encoded";
$ result = mysqli_query ($ conn, $ query);
}
}

The purpose of this div is to edit the text on the site itself through a hidden text box that appears after a click of a button with a function in JS.

My problem here is that when entering special characters as letters with accents, the text of the database does not recognize the characters and returns the text as follows:

        "you can find information about"