You must Sign In to post a response.
  • Category: ASP.NET

    How to fetch/take unicode character in querystring?

    I have created one page and giving url to client.client can enter name in the form of querystring.That name can be unicode character.

    like :

    But when I am catching name in form of querystring getting ????.How to handle this?

    string str = Convert.Tostring(Request.QuertString["name"]);
  • #768838

    You can review in many ways, But the following way will be simpler.


    For RAW querystring, we can use the below query.



  • #768845

    The best way to get your string without effect anything is using Encode&Decode, using this concept while passing time you can encode the string and while retrieve time you can decode as usually.

    Refer below link, this might be helpful to you.

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

  • Sign In to post your comments