My page has worked perfectly until yesterday without change anything started to not recognize accents and the letter ñ. That happens just with the data from the database (Mysql) and if i refresh the page sometimes works fine and sometimes changes just a few words, not all, and sometimes all words so it's difficult to know why this is happening. I have the meta charset in my html with utf8, the headers HTTP looks fine, i have utf8mb4_spanish_ci in the database and in the tables and i also proved to save my files in UTF-8 with BOM and without it and still doing the same. I also change the charset in all connections with set_charset("utf8") but the problem persists. I don't know what more to do.
Thank you