My website is in Brazilian Portuguese. And as you know, this is a language that uses special characters such as accents, cedillas, tildes, etc. And those characters are not being recogzined. I heard that something like this would solve: ini_set('default_charset','UTF-8'); But even so, it didn't work out. My html is set as charset=utf-8. And nothing. My database is set as utf-8_general_ci, so are the tables in it. What solution can solve this problem?