utf8_decode()

It converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1

Example

<?php

echo utf8_decode(“phpcodez”);

?>

Share