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
Euro symbol and PHP
-
- Posts: 13
- Joined: 2009-07-27T05:04:53-07:00
- Authentication code: 8675309
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Euro symbol and PHP
Not sure I know exactly what you are trying to do, but in HTML you need to use character codes.
so for euro symbol, you would use either
€
or
€
so for euro symbol, you would use either
€
or
€