par
Gorbi » 17 mai 2013, 10:22
Bonjour Hélène, j'utilisais une fonction trouvée sur internet qui permet de régler ce problème, la voici :
function char($text)
{
$text = htmlentities($text, ENT_NOQUOTES, "UTF-8");
$text = htmlspecialchars_decode($text);
return $text;
}
Est-ce que cela te convient comme solution ?
Bonjour Hélène, j'utilisais une fonction trouvée sur internet qui permet de régler ce problème, la voici :
[php]function char($text)
{
$text = htmlentities($text, ENT_NOQUOTES, "UTF-8");
$text = htmlspecialchars_decode($text);
return $text;
}
[/php]
Est-ce que cela te convient comme solution ?