I have in the database words that include special character (in Spanish mostly, like tildes). In the database everything is saved and shown correctly with PHPmyAdmin, but when I get the data (using PHP) and display it in a browser, I get a weird character, like a "?" with a square... I need a general fix so I don't need to escape each character every time, and also I would be able to insert special Spanish characters from a PHP form into the database...
The HTML is correct:
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
All tables and databas are set to utf8_spanish
The character I get: ?
Changed the HTML charset to ISO-8859-1 fixed the problem! Silly