Click to See Complete Forum and Search --> : Form sending non English text


Salam
03-06-2003, 07:09 AM
Hi, I wrote a form that is intended to be used by Arabic speaking users. The form sends its input to a PHP file that will process the information.

My problem is that the form sends the Arabic text with the URL in the following format:
item1=%C7%E1%E4%D5+%C7%E1%C7%E6%E1

I need one of two things: either that the Arabic text in the form gets sent as is without being converted like above. Or be able to code the PHP file to convert the string received back to Arabic.

Sure if someone is familiar with how to approach this issue in a different language that is good enough since I will be able to take the solution and apply it to Arabic.

Thanks,
Salam

boojum
03-06-2003, 05:11 PM
if what you submitted was the following:

C WITH CEDILLA
a WITH ACUTE
a WITH DIAERESIS
O WITH TILDE

C WITH CEDILLA
a WITH ACUTE
C WITH CEDILLA
ae
a WITH ACUTE

then its unicode in hexadecimal.

Salam
03-06-2003, 05:36 PM
Sounds good ... then I will be looking to see if there is a PHP function that converts this unicode in hexadecimal to normal text.

Thanks