I have a website with database that works fine in my computer, all special characters displayed correctly - I made sure to save all pages and CSS in Western European format and declare charset ISO-8859-1.
Nonetheless, when I upload the project to a web server, all accented/latin/whatever-you-call-them characters, such as ~, ^, ´, etc., are replaced by question marks.
I don't know what is causing this, but I suspect it is due to my files using lots of PHP includes: 1 for heading section, 1 for footer section (since heading and footer look the same in all pages, I wanted to save some space by reusing the code).
My second hypothesis is that it has something to do with the web host. But honestly, I'm lost and have no clue what to do. If you guys could give me a solution, I'd really appreciate it.
Update: my question was marked as duplicate, BUT idk how this can be an duplicate, since I've searched this site through and through and nothing solved my problem. I did all people generally recommend: changed database collation, saved every file in ISO-8859-1 encoding, declared the correct <meta charset>
in header section and it had no effect.