473,383 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Web form and Arabic characters...

I'm having trouble displaying and passing arabic characters from my web
form. I've added requestEncoding="windows-1256"
responseEncoding="windows-1256" to my web.config but it didn't help. I also
added <meta http-equiv="Content-Type" content="text/html;
charset=windows-1256"> to the top of the page and that still didn't fix it.

When I submit a form with arabic text it comes out as %e1%c8 instead of the
text. It also displays like this on the web page.

Anyone know what the problem is?

TIA
Nov 18 '05 #1
4 3721
Would you please check that when your page is displayed, internet explorer
is using the correct encoding.
You could do that by openning IE on your page that contains the arabic
characters. Choose View->Encoding and check that "Arabic (Windows)" is
selected
Regards
Mohamed El Ashmawy
MEA Developer Support Center
ITWorx on behalf of Microsoft EMEA GTSC

"Greg" <no****@nospam.com> wrote in message
news:eY**************@tk2msftngp13.phx.gbl...
I'm having trouble displaying and passing arabic characters from my web
form. I've added requestEncoding="windows-1256"
responseEncoding="windows-1256" to my web.config but it didn't help. I also added <meta http-equiv="Content-Type" content="text/html;
charset=windows-1256"> to the top of the page and that still didn't fix it.
When I submit a form with arabic text it comes out as %e1%c8 instead of the text. It also displays like this on the web page.

Anyone know what the problem is?

TIA

Nov 18 '05 #2
"Mohamed El Ashmawy" <mo***************@egdsc.microsoft.com> wrote in
message news:#G**************@TK2MSFTNGP11.phx.gbl...
Would you please check that when your page is displayed, internet explorer
is using the correct encoding.
You could do that by openning IE on your page that contains the arabic
characters. Choose View->Encoding and check that "Arabic (Windows)" is
selected
Regards
Mohamed El Ashmawy
MEA Developer Support Center
ITWorx on behalf of Microsoft EMEA GTSC


Thanks for the reply. My browser was set for Arabic (Windows).

I'm having this problem with Norwegian as well, even with changing the page
encoding and my browser encoding. With my ASP script both langauges show up
fine.
Nov 18 '05 #3
"Mohamed El Ashmawy" <mo***************@egdsc.microsoft.com> wrote in
message news:#G**************@TK2MSFTNGP11.phx.gbl...
Would you please check that when your page is displayed, internet explorer
is using the correct encoding.
You could do that by openning IE on your page that contains the arabic
characters. Choose View->Encoding and check that "Arabic (Windows)" is
selected
Regards
Mohamed El Ashmawy
MEA Developer Support Center
ITWorx on behalf of Microsoft EMEA GTSC


I found the problem... I was accidentally setting the page code in the page.
When I removed it everything was fine.
Nov 18 '05 #4
Congratulations for finding the problem :)
Regards
Mohamed El Ashmawy
MEA Developer Support Center
ITWorx on behalf of Microsoft EMEA GTSC

"Greg" <no****@nospam.com> wrote in message
news:u4**************@tk2msftngp13.phx.gbl...
"Mohamed El Ashmawy" <mo***************@egdsc.microsoft.com> wrote in
message news:#G**************@TK2MSFTNGP11.phx.gbl...
Would you please check that when your page is displayed, internet explorer is using the correct encoding.
You could do that by openning IE on your page that contains the arabic
characters. Choose View->Encoding and check that "Arabic (Windows)" is
selected
Regards
Mohamed El Ashmawy
MEA Developer Support Center
ITWorx on behalf of Microsoft EMEA GTSC

I found the problem... I was accidentally setting the page code in the

page. When I removed it everything was fine.

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: NohaKhalifa | last post by:
Dear All , I have a very big problem regarding using Arabic Character set . I'm Developing an Arabic Web Site using Asp and connecting to Access Database . but i have a problem retreiving data...
3
by: suhaddad | last post by:
I have an XML schema that I want to modify. I need to change the text from English to Arabic, but I can't seem to be able to do so. <LearningResourceData Type="Session - Tutorial and Workouts">...
17
by: thinkfirst | last post by:
Hello CIWAH ... I want to propose full internationalization of three related websites: http://africadatabase.org/ http://people.africadatabase.org/ http://institutions.africadatabase.org/ My...
1
by: Joe Abou Jaoude | last post by:
hi, I m trying to fill dropdownlists on my aspx web page with arabic characters. here's an example: <SELECT NAME="subject" SIZE="1" dir="rtl"> <OPTION SELECTED> <OPTION value="14"> ...
0
by: bvcbb | last post by:
Dear all I am supposed to develop a world ready application in C# 2003 (which will run in xp) which should aupport Arabic & Hebrew also. My doubts(Fears) are: 1. Do i have to create all the...
4
by: Arif | last post by:
My programs searches the header of input barcode in index file. Get the record position next to Barcode header. Then moves the file pointer of products file to reach that record. My products...
1
by: nisha1 | last post by:
How to programming in PHP that supports Arabic characters. Problem: When I insert the data into database. The data inserted are garbage. Maybe there is configurations or code to be added at...
1
by: CideoEspada | last post by:
I have a problem with my child asp pages, They seem to not recognize Arabic characters and display them as gibberish, while on the master pages or pages that are independent from master pages they...
2
JustRun
by: JustRun | last post by:
Hi, I'm developing a web application using ASP.NET2.0 with C#, I have tried to use custom validation controls to validate my forms, it worked very well in the English language , but when i test it...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.