Answers for "how to convert special characters to string in php"

PHP
0

php convert special characters to normal

$str = "d'études"; //string with special characters
$normal_str = html_entity_decode($str, ENT_QUOTES);  //d'études(studies in english)
Posted by: Guest on September-10-2021
0

php convert special characters to normal

iconv('utf-8', 'ascii//TRANSLIT', $text);
Posted by: Guest on September-20-2021

Code answers related to "how to convert special characters to string in php"

Browse Popular Code Answers by Language