Euro symbol and PHP
Posted: 2009-09-22T07:25:10-07:00
Hi every body.
Im beginner on IM, im exuting it with php
im writing on pictures with -draw tool.
i need to write the € symbol
exec("convert src.jpg -draw \" '€'\" exit.jpg");
every things fine if there is just php codes on my script.
the fact is that i need also to genrate html (echo) script on this same php file.
So instate of € i have ?
i tried with header('Content-type: text/html; charset=UTF-8'); on top of the php script but no changes.
i tried echo utf8_encode($valeur);
i tried env LC_CTYPE=en_AU.utf8 \
printf "\u2018single\u2019 - \u201Cdouble\u201D" | \
convert -background lightblue -fill blue -pointsize 36 \
label:@- label_quotes.gif
What should i do ?
thank you very much
Im beginner on IM, im exuting it with php
im writing on pictures with -draw tool.
i need to write the € symbol
exec("convert src.jpg -draw \" '€'\" exit.jpg");
every things fine if there is just php codes on my script.
the fact is that i need also to genrate html (echo) script on this same php file.
So instate of € i have ?
i tried with header('Content-type: text/html; charset=UTF-8'); on top of the php script but no changes.
i tried echo utf8_encode($valeur);
i tried env LC_CTYPE=en_AU.utf8 \
printf "\u2018single\u2019 - \u201Cdouble\u201D" | \
convert -background lightblue -fill blue -pointsize 36 \
label:@- label_quotes.gif
What should i do ?
thank you very much