Special caracters with imagettftext()

images php coding issues or problems here.

Moderators: macek, egami, gesf

Dajka
New php-forum User
New php-forum User
Posts: 4
Joined: Wed Feb 16, 2011 7:00 am

Special caracters with imagettftext()

Postby Dajka » Mon Feb 28, 2011 4:35 pm

Hi Guys,

I have a slight problem...
I created a picture in php and I want to paint a string on it with the imagettftext() function...
I get the string from a form with the $_POST['string']; call...
Everything works fine until I enter a string what contains one of these caracters ( ű Ű ő Ő ) it even works fine with the caracters é É ö Ö ü Ü and so on...

I realised that the above 4 caracters are passed from the form as for exemple ű for ű...

Does anybody have a solution for this?

Thank you in advance.

Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 1 guest