Note: Your header header('Content-type: text/html, charset=utf-8');
,
is the correct header('Content-type: text/html; charset=utf-8');
Your document (php-file) should be saved in utf8 (without bom) or use iso-8859-1
instead of utf8
To save the document in utf8 without boom use notepade++ (select "Convert to utf-8 without BOM"):

or use:
header('Content-Type: text/html; charset=iso-8859-1');
Tip (if you are using database):
If your database is UTF-8, then:
- php file converted to utf-8 without bom
- set header to utf8
header('Content-type: text/html; charset=utf-8');
If your database is latin1, then:
- php file converted to ANSI
- set header to iso-8859-1
header('Content-type: text/html; charset=iso-8859-1');