UTF-8:
*Output
default_charset option in php.ini, or manually issue the Content-Type MIME header yourself. This is the preferred method when targeting modern browsers.
header('Content-Type: text/html; charset=utf-8');
- HTML5
<meta charset="utf-8">
- Older versions of HTML
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />