0

I have home problem with the HTML symbols in a spanish web page what I am developing. The symbols are like � on my ñ and á, é, í, ó and ú.

I tried:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Also:

<meta charset="UTF-8" />

And:

header('Content-Type: text/html; charset=utf-8');

But nothing works. Thats how the webpage works:

  1. I have an index.php which selects throught $_GET the layout.
  2. Layouts are saved in .phtml
  3. Then I include the selected file.

Everything works fine, except the charset codification, � symbols remain in the page. What could I do for changing it?

EDIT - I have read the solution proposed and gives no solution, I have done all that they are saying before (as I said at the begining), and I have no problems with MySQL codification.

Programador Adagal
  • 780
  • 14
  • 39

0 Answers0