ВОТ ЭТО ПОВОРОТ
Цитата:
|
Everything is correct.
PhpStorm creates UTF-8 files without BOM header (in Notepad++ it's called "ANSI as UTF-8"). It even has special command to remove BOM header (File | Remove BOM) as PHP does not process such files correctly (it will simply output those characters directly to output buffer which may result in "headers already sent" warning; some garbage output or similar stuff).
What you need to do – is to correctly specify encoding – be it http headers (server side) or in html file itself: <meta charset="UTF-8">
|
браузер без BOM не понимает что это utf8 по этому надо указывать ему вручную
Последний раз редактировалось Maxmaxmaximus3, 19.11.2013 в 06:38.
|