0

I have this UTF-8 text

"S#?!☠✖"

I would like to use it in PHP for placing the text in an image.

ImageTTFText ($bild, $fontsize, $fontangle, $xcord, $ycord, $text_color, $font, $text);  

It works well, but for the last two sign I will get an ??. I tried to convert it with:

$newstring = utf8_decode("S#?!☠✖"); 

without any success.

Is there any solution to convert the signs that they are usable in php?

hamburger
  • 1,339
  • 4
  • 20
  • 41

0 Answers0