exchanging Arabic data in utf-8

From: Iman Saad (imansaad@aucegypt.edu)
Date: Wed Aug 22 2001 - 16:53:13 EDT


Dear list members,

I am developing an educational site in Arabic. All html pages are in
unicode (utf-8). The site contains pages with forms which the user fills
out in Arabic and sends to the server. These forms are handled by a cgi
script written in perl. The script sends the form content to the teacher or
webmaster by email and sends a confirmation message to the user indicating
that his/her form was successfully sent. The confirmation message includes
the name of the user, which he/she has provided via the form. The problem I
encounter is that I can't get the browser (IE5) to display the user's name
in Arabic. To display the name in Arabic, I have to go to View/Encoding and
change the character set to utf-8 myself. The browser doesn't change the
character set by itself. I tried adding the following header in the section
of the cgi script that includes the html code, but that did not change
anything:

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">

This problem does not occur if the html page that contains the form is in cp
1256.

Can anyone please help me?

Thank you very much

Iman Saad
Arabic Language Institute
American University in Cairo



This archive was generated by hypermail 2.1.2 : Wed Aug 22 2001 - 17:42:45 EDT