I have a PHP website in Spanish. Unfortunately some characters like ñ or á are replaced by a �.
I have read lots of papers regarding how to solve it without any success.
Here the code:
<div> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <?php include ("head_spanish.html"); include ("menu_spanish.html"); include ("/home/libroman/php_library/database.php"); header('Content-Type: text/html; charset=utf-8' ); ini_set('default_charset', 'utf-8'); ?> <div class="bordergrey_bottom text_red"> <h2 class="margin_0 padding_3 text_140"> <p> Here I enter some Spanish text </p> </h2> </div>
Any help would be really appreciated.
Thanks a lot.