tags:

views:

33

answers:

2

index.php

<?php
include("header.php");
?>

header.php

<?php
echo"<a href='add.php'>Lägg Till</a>";
?>

result

L?gg Till

The document is utf8 within the head tags and all, it's a php thing, the problem only occurs when i get text from include, i cannot have ÅÄÖ in included php files , how do i make it work?

+1  A: 

Save these files in utf-8 too

Col. Shrapnel
A: 

Besides saving the file in UTF-8 you could also check the "default_charset" configuration in the php.ini file.

pablasso
And check the editor (and if necessary, terminal) are also in UTF-8. It's possible to enter what appears to be UTF-8, but actually isn't.
staticsan