UTF-8 page encoding. The coding of the table is utf8_general_ci. Server OS ubuntu-14.04-x86_64-minimal.
In the table, comments are written in Cyrillic, in phpmyadmin in the table they are written in the following format:
But the site displays comments normally, tell me what to do to make the text correctly displayed in the table?
Tried to add mysqli_set_charset ($ c, "utf8"); In the table, the text began to appear normally, but on the site when sampling: ??? ?? ????