utf-8 convert to utf-16 php code example Example: php convert string to utf8 utf8_encode ( string $data )