PHP code and Denver

I created a php document, put it on a local Denver server. The code is as follows:

$name = "";
$age = 25;
echo "$name";

but when displayed in the browser instead of the word Alexander – a set of characters, the page title is also displayed crookedly. If you write in English – everything is ok. I changed the encoding – both utf-8 and windows-1251. What’s the problem?

Answer 1

Everything, gentlemen, was decided by itself. ) We will write off on my inexperience. )