c# - Reading special characters from URL query string -


i have situation user able enter characters want in url query string.

example:

http://localhost/default.aspx?id=a‡jljglkjg

how can accept special characters such ‡, ˆ, , † in asp.net url query string? finding when attempt retrieve these url query string these special characters gets replaced “?”.

note: user inputs these query string url.

this url wrong according rfc.

  • if using browser, ecndoing required.
  • if done javascript, use encodeuricomponent
  • if c# app, using httputility.urlencode here

Comments

Popular posts from this blog

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

javascript - Iterate over array and calculate average values of array-parts -

jQuery Ajax Render Fragments OR Whole Page -