Questions tagged [urldecode]

urldecode reverses replacements by urlencode(), which is used to prepare a string for use in a URL by replacing invalid characters such as /, +, ', % etc.

urlencode prepare a string for use in a URL, and urldecode does the reverse operation.

See also

448 questions
9
votes
5 answers

Remove all backslashes from PHP urldecoded string

I am trying to remove all backslashes from a url-decoded string, but it is outputting \ rather than outputting the url-decoded string with \ removed. Please can you tell me my problem.
max_
  • 24,076
  • 39
  • 122
  • 211
9
votes
3 answers

How to encode url in javascript and decode it in C#

I have a url with querystrings through which some data are passed. I want to retrieve the data in the server side. What is the solution for this problem
Poornima
  • 203
  • 1
  • 7
  • 14
9
votes
2 answers

JavaScript how to replace %20 to space

I am trying to retrieve values from the url and displaying it in my web page using angular JS. what i am doing is 1) saving the entire url to a variable and split it so that i can filter to the value i need. 2) However when there is a space it is…
Sha
  • 1,826
  • 5
  • 29
  • 53
9
votes
1 answer

Why no URLEncoder.encode(String, Charset), URLDecoder.decode(String, Charset)

I'm not sure if SOF is the best place to ask this, but something about the java URLEncoder and URLDecoder. For URLEncoder, it has the method encode(String, String) where the second parameter is the name of the encoding to use. If the encoding is not…
ecbrodie
  • 11,246
  • 21
  • 71
  • 120
8
votes
4 answers

Does VBA have any built in URL decoding?

I just need to decode a URL, for example, replace %2E with . I can hack out a method if one isn't build in, but my assumption is that there must be a URL decoding tool already existing.
Russell Steen
  • 6,494
  • 6
  • 38
  • 56
7
votes
1 answer

How to UrlDecode without having System.Web dll in c#

I'm about to create a self-hosted Web API application, and somewhere I need to URL Decode the input. But I truly don't want to add a reference to System.Web.dll, because AMAIK, it's a heavy DLL and one of the main reasons of getting far from ASP.NET…
h.Ebrahimi
  • 87
  • 1
  • 7
7
votes
2 answers

Does Windows have any built-in utility to encode/decode URL?

The certutil utiliiy in Windows can be used to perform Base64 encoding and deocding. Is there any built-in utility for URL encoding and decoding? There are many free tools available on web. But I am specifically looking for Windows built-in utility…
Sambhaji
  • 990
  • 5
  • 19
  • 31
7
votes
2 answers

URL decode a column in table

How can I url decode a value in Oracle? I have a URL encoded string stored in oracle DB table. I want to url_encode it while selecting the results. Any quick way to achieve this ?
TopCoder
  • 4,206
  • 19
  • 52
  • 64
7
votes
1 answer

Best way to urldecode (php) in NodeJS

So I am trying to decode a string that was previously urlencoded with php in Node. About a month ago I had it working with: querystring.unescape(str.replace(/\+/g, '%20')); Then it just stopped working - not sure if it was some Node upgrade or…
cyberwombat
  • 38,105
  • 35
  • 175
  • 251
7
votes
3 answers

Unicode URL decoding

The usual method of URL-encoding a unicode character is to split it into 2 %HH codes. (\u4161 => %41%61) But, how is unicode distinguished when decoding? How do you know that %41%61 is \u4161 vs. \x41\x61 ("Aa")? Are 8-bit characters, that require…
Jonathan Lonowski
  • 121,453
  • 34
  • 200
  • 199
7
votes
3 answers

Can't find HttpServerUtility class in System.Web in C#

I'm trying to call the HttpServerUtuility.URLDecode function in C# using Visual Studio 2005, but it can't be found. I'm using System.Web properly, but the class doesn't seem to be there. Do I need to add some sort of reference to my project?
Eli Courtwright
  • 186,300
  • 67
  • 213
  • 256
7
votes
3 answers

asp .net query string encoding and decoding

I type the following url into my web browser and press enter. http://localhost/website.aspx?paymentID=6++7d6CZRKY%3D&language=English Now in my code when I do HttpContext.Current.Request.QueryString["paymentID"], I get 6 7d6CZRKY= but when I do…
Varun Sharma
  • 2,591
  • 8
  • 45
  • 63
7
votes
4 answers

Is there a common Java library that will handle URL encoding/decoding for a collection of strings?

I often have to url encode or decode a large collection or array of strings. Besides iterating through them and using the static URLDecoder.decode(string, "UTF-8"), are there any libraries out there that will make this type of operation more…
jrws
  • 73
  • 1
  • 4
6
votes
2 answers

Difference Firefox - Chrome when encoding umlauts

Chrome converts this: aöüß to %C3%A4%C3%B6%C3%BC%C3%9F But Firefox converts it to this strange thing here: a%F6%FC%DF I can't seem to find a way to convert the Firefox thing back to the original in PHP. Urldecode and rawurldecode unfortunately don't…
Stefan
  • 2,164
  • 1
  • 23
  • 40
6
votes
1 answer

encoding URL parameter in Ruby, and correctly decoding it with php

I want to encode an URL parameter with Ruby. The URL parameter not encoded is like this: index.php?hash=tlNmgzWNFelvIH1o9ZAWFifpB3RwZOh6DCt5OdIfJCWLo9iZSRONWk1D1rEnSxUp|hi8JcsAHkznPkDFfaS1+xw== Then I want to decode it from PHP! I tried…
addex03
  • 197
  • 1
  • 2
  • 12
1 2
3
29 30