Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6749919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:44:50+00:00 2026-05-26T12:44:50+00:00

I am decoding characters in a URL by using HTTPUtility.URLDecode. Here are the characters

  • 0

I am decoding characters in a URL by using HTTPUtility.URLDecode. Here are the characters I have to decode:

%26 = “&”
%28 = “(“
%29 = “)”
%20 = ” “
%5B = “[“
%5D = “]”
%2C = “,”
%23 = “#”
%F3 = “ó” (spanish character)

HTTPUtility.URLDecode works great on all but the last one. I am doing a find/replace on that last character right now, but hoping there is a better automatic way so I don’t have to update the find/replace in the future.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:44:51+00:00Added an answer on May 26, 2026 at 12:44 pm

    You should use an overload of HttpUtility.UrlDecode() that accepts an encoding:

    HttpUtility.UrlDecode("%F3", Encoding.GetEncoding("ISO-8859-1"))
    

    This assumes it actually is using the ISO-8859-1 encoding. If it uses Windows-1250, you should use that. (These two are very similar, but they are not the same.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a PHP app with a dynamic URL scheme which requires characters to
I am facing a paradox in decoding with utf8_encode decode. I have a MySQL
I have a site that displays user input by decoding it to unicode using
I have sequences of characters I'm feeding to a decoding function: For example: \x05three
I've a little question about decoding special characters from a JSon result (in my
using the below code for decoding json $categories = json_decode($data); $categories = $categories->data; where
I have a DLL which provided a decoding function, as follows: function MyDecode (Source:
I have a simple function that returns an NSString after decoding it. I use
The usual method of URL-encoding a unicode character is to split it into 2
Given url /Page.aspx?a=b&title=apples+%26+pears , Request.Url property returns /Page.aspx?a=b&title=apples+&+pears Note that the url-encoded ampersand in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.