Answer the question
In order to leave comments, you need to log in
How to read the value of the url parameter in Russian in ASP.NET?
For example http://site.com?action=add&name=Vasya instead of a name in QueryString some hieroglyphs. I have been programming in ASP.NET for many years, I encountered this problem for the first time and was very surprised ... It would seem that the task is banal, but I have not found a solution yet. Temporarily stuffed parameters into POST.
The URL on the server looks like this:
localhost:15914/main.ashx?action=directorAddManage... The
URL on the browser looks like this:
http://localhost:15914/main.ashx?action=directorAd...
Answer the question
In order to leave comments, you need to log in
In the presented topic there is a solution. True, the Arabic language is considered, but the solution also works for the Russian language.
Pavel Elizariev correctly noted that you need Uri.EscapeDataString. It's not a shorthand, it's an escaped string.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question