The .htaccess
file contains
DirectoryIndex index.php AddDefaultCharset utf-8
On the index.php page, instead of the Cyrillic alphabet, questions are displayed, and on any other page (even simply by copying the contents and changing the name) everything is displayed normally. How can this be fixed?
Content index.php
<!DOCTYPE html> <html> <head> <title>Магазин бытовой техники</title> <link rel="stylesheet" href="/css/style.css"> </head> <body> <div id="registerform"> <form action="header.php" method="POST"> <p>Имя</br> <input type="text" name="name"></p> <p>Фамилия</br> <input type="text" name="surname"></p> <p>Пароль</br> <input type="password" name="password"></p> <p>Повтор параля</br> <input type="password" name="repassword"></p> <p>Логин</br> <input type="text" name="login"></p> <p>E-mail</br> <input type="text" name="password"></p> <button type="submit">Отправить</button> </form> </div> </body> </html>
utf-8 без BOM
? - Alexey Shimansky