Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Foreign characters UTF ISO in PHP

Quote Reply
Foreign characters UTF ISO in PHP
Hi
I found that the line:

<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
or:
<meta content="text/html; charset=utf-8" http-equiv="content-type">

Only works fine in static pages (html)


But in php files, it is needed the next line, at top

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