Jump to content

Problem with output image with eurosign


hvdboorn

Recommended Posts

Hi,

 

I used the function imagecreatefrompng() to edit a png image. On the image should come a amount of money like €30, but the euro sign appears with the function imagestring() as a questionmark. I executed the function ini_set("default_charset","iso-8859-1"); before the text is outputted onto the image, but this doesn't work. I've tried everything like standard charset ini_set("default_charset",""); and all the iso charsets until 15. I also tried to use utf8 without any success.

 

I also tried to add the eurosign through hex notation, but then I get a literal notation on the image. example: amount: €98 where it should be €98.

 

What can I do?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.