Hi,
-----------Problem-----------------------
I have a HTML form, with one textbox and one submit button.
User enters INTERNATIONAL characters in the box like arabic, chinese, korean, hebrew etc. characters .
I want a php program that converts this "iinternational character string" into a image and displays it to the user.
---------Possible Solution----------------
Someone suggested GD+TTF can be used for doing this. But I am very new to PHP.
-----------Current Solution Status------------------
I have been able to make JPEGs and PNG images of the english text entered in the textbox. But I am running into three problems.
1) I cannot accept international characters in the php script. ie after i submit the HTML form containing "international character string" i am not able to retrieve it in the PHP script. The possible problem could be that PHP doesnot support unicode.
Is there are way to get around this problem?
2) JPG/PNG images re not being rendered properly, which i guess is due to problem-1.
3) How do I use TTF fonts on Linux for rendering "Text Images".
Is this at all possible PHP or not ..i am not sure? PLease comment.
What other alternatives exists apart from PHP? Can Perl do it? If so please give me some pointers.
I dont need working code. Some pointers to similar problems and its possible solutions will also be enough for a start.
Please feel free to ask questions in case something is not clear.
And PLEASE PLEASE PLEASE.. My Boss is going to fry me by tomorrow, if i dont have a solution.. PLEASE..