basrah_university68
New Member
- Messages
- 9
- Reaction score
- 0
- Points
- 1
Hi,
I am trying to use Arabic text using PHP. for some reasone I get ????? ????? displayed.
Displyaing text using HRML files works fine.
I save the file as utf-8.
For example, the test file below only displays ????
"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">";
<HTML lang="AR-IQ" dir=rtl charset=UTF-8>
<HEAD>";
<meta http-equiv="Content-Language" content="ar-kw">
<TITLE>My Website</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?
echo "</HEAD>";
echo "<BODY>";
echo "<span lang='ar-kw'يبمشبمشنتيبنتئيةىوةرىئءؤرنسنن سنيبمنستي </span>";
echo "<p> ننتا وءةؤىروءؤ رمنسيب </p>";
echo "</BODY>";
echo " </HTML>";
?>
I am trying to use Arabic text using PHP. for some reasone I get ????? ????? displayed.
Displyaing text using HRML files works fine.
I save the file as utf-8.
For example, the test file below only displays ????
"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">";
<HTML lang="AR-IQ" dir=rtl charset=UTF-8>
<HEAD>";
<meta http-equiv="Content-Language" content="ar-kw">
<TITLE>My Website</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?
echo "</HEAD>";
echo "<BODY>";
echo "<span lang='ar-kw'يبمشبمشنتيبنتئيةىوةرىئءؤرنسنن سنيبمنستي </span>";
echo "<p> ننتا وءةؤىروءؤ رمنسيب </p>";
echo "</BODY>";
echo " </HTML>";
?>