, , ó î ( ) " utf-8". , ( ) , , ASCII (, , , ). " ", " utf-8".
, <div>, UTF-8. , ISO 8859-1 .
, , . , .
" " . , , . PHP- , -, , htmlspecialchars(), "UTF-8" ( PHP 5.4.0 - "ISO-8859-1"). " " UTF-8 (. , ), htmlspecialchars() .
header('Content-Type: text/html; charset=utf-8');, . , <div> UTF-8 (. , " " ).
, , , - UTF-8, . , . , , UTF-8.
, file . -
main.php: PHP , UTF-8 Unicode text
od -tx1z, (, | less) . , " " >= 0x80. UTF-8, 2 ( 3 ), all >= 0x80, " " , 0x80.
, , , .
AddDefaultCharset .htaccess, Content-Type: text/html; charset=utf-8 HTTP, Apache ( PHP).
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> , HTTP- ( http- equiv). HTTP- , .
, UTF-8, !
(... , , , , , , ☹)