how to change encoding of a string php to iso-8859-7 code example Example: php convert string to utf8 utf8_encode ( string $data )