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?
TIAWould 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" <nospam@.nospam.com> wrote in message
news:eYxUv5z$DHA.2804@.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
"Mohamed El Ashmawy" <mohamed.elashmawy@.egdsc.microsoft.com> wrote in
message news:#Gb7mx6$DHA.3056@.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.
"Mohamed El Ashmawy" <mohamed.elashmawy@.egdsc.microsoft.com> wrote in
message news:#Gb7mx6$DHA.3056@.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.
Congratulations for finding the problem :)
Regards
Mohamed El Ashmawy
MEA Developer Support Center
ITWorx on behalf of Microsoft EMEA GTSC
"Greg" <nospam@.nospam.com> wrote in message
news:u4yEunJAEHA.1600@.tk2msftngp13.phx.gbl...
> "Mohamed El Ashmawy" <mohamed.elashmawy@.egdsc.microsoft.com> wrote in
> message news:#Gb7mx6$DHA.3056@.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.
Monday, March 12, 2012
Web form and Arabic characters...
Labels:
arabic,
asp,
characters,
displaying,
form,
net,
passing,
trouble,
web,
webform
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment