When I use substr() I get a strange character at the end
$articleText = substr($articleText,0,500);
I have an output of 500 chars and � <--
How can I fix this? Is it an encoding problem? My language is Greek.
When I use substr() I get a strange character at the end
$articleText = substr($articleText,0,500);
I have an output of 500 chars and � <--
How can I fix this? Is it an encoding problem? My language is Greek.