Last post Sep 03, 2007 12:07 AM by wskanaan
Aug 31, 2007 07:17 AM|wskanaan|LINK
I have been trying to read some text that I get from the url to a page. This text is in arabic and is used to pass parameters to the page being called. The problem is that asp.net does not seem to be able to recognize this text. I get garbage characters...
which are useless to the customers...
However... when I tried to do the same with php and asp 3.0 it worked fine. Has anyone faced such a problem before??? any help would be highly appreciated...
Regards.... and thanks in advance
Sep 02, 2007 09:27 PM|TATWORTH|LINK
Look at http://www.guysmithferrier.com/ and in particular at Guy Smith's book
ISBN 0321341384. The book is available online at
Safari books at http://safari.oreilly.com/0321341384
Also his presentation http://www.guysmithferrier.com/downloads/teni18n.pdf
Which version of ASP.NET are you working with?
If 2.0, did you Generate Local Resources for the page?
You may need to set the culture of the page to Arabic, prior to reading the QueryString.
Sep 03, 2007 12:07 AM|wskanaan|LINK
Thanks for the answer... but I think that I did not make my problem clear...
The issue is not in the internationalization as a whole... it is in the get method....
say I were to call a page like so
ASP.NET would recognize the content of the param variable as "abcd". My problem is when the param variable in the get method is non latin... eg.
The value is Arabic.... If I try to get the value from the Request object:
then I get things like '?????' or other garbage text.
If this were done in a Post method it works... but the Get method is killing me with this problem...