User888234365 posted
... I do many google search for this problem but still i dont found any answer or same problem,
I have a website was developed in classic ASP. recently we start to upgrade some parts to ASPX.
This website consists of 2 languages ( English and Arabic ),
The problem in arabic side. there is a form was created on ASP page which sends value to a new ASPX page. But the last one doesnt recieve any parameters or " ???? ". i test this by put response.write(len(request.form("qu"))),
also its gives 0.
Strange thing that i apply the same code on English side which is working perfectly without any problems. but arabic it doesnt !!.
The code as the following on ASP page:
.
...
<tr>
<td HEIGHT="27">
<form NAME="form2" METHOD="post" ACTION="webform1.aspx">
<center>
<font COLOR="#FFFFFF"><b> <font SIZE="2" FACE="Simplified Arabic">ابحث
في الموقع</font></b></font><font SIZE="2" FACE="Simplified Arabic"><br>
</font>
<input NAME="qu" SIZE="12" MAXLENTH="50">
<input TYPE="submit" NAME="Submit" VALUE="ابحث">
<br>
</center>
</form>
</td>
</tr>
.....
.
.
The code as the following on ASPX page:
<%@ Import Namespace="System.Data"%>
<%@ Import Namespace="System.Data.sqlclient"%>
<script Language="VB" runat="server">
.
.
Sub Page_Load(sender As Object, e As EventArgs)
word = trim(request.form("qu"))
response.write (">>>" & word & " " & len(request.form("qu")) )
word = ReEncodeString(word)
End Sub
</script>
i try pagecode=1256 directives on the top of the page. no any change of the result.
As i said, The problem only with arabic charaters. english working perfectly !
Any help or idea ?