how to set char set to utf8 in php code example Example: php set charset utf 8 header('Content-Type: text/html; charset=utf-8');