php decode utf8 code example
Example 1: php utf8_decode
// utf8_decode() function is an inbuilt function in PHP which is used
// to decode a UTF-8 string to the ISO-8859-1
$string_to_decode = "Københavns";
utf8_decode($string_to_decode); // returns Københavns
Example 2: php convert string to utf8
utf8_encode ( string $data )