Lio
Lio

Reputation: 1503

What kind of encoder encodes string like this?

I have a question about encoding/decoding strings.

Well, there is web page, where I send some data with simple php POST form. When I open Chrome Developer Toolbar -> Network, in "Form Data" all parameters are displayed normally, except this, "uid", which is encoded ( %25%DC%BE%60%A0W%94M ) somehow.

enter image description here

When I clicked on "view URL encoded", it showed me this "%2525%25DC%25BE%2560%25A0W%2594M", I tried online tools such http://meyerweb.com/eric/tools/dencoder/ to get human readable string of this encoded parameter, but no luck.

Can anyone explain to me, how can I get the original value of this parameter? Not encoded, in human readable format?

Thanks a lot : )

Upvotes: 0

Views: 132

Answers (2)

Robotnik
Robotnik

Reputation: 3800

If you're having problems with online decoders, and (seeing as its a relatively short string) why not give it a go by hand?

http://www.degraeve.com/reference/urlencoding.php

This table maps characters to their URL-encoded equivalent, just do a Ctrl+F of the % encoded characters and decode it yourself.

A few of the characters look wierd because they aren't English characters. %DC is Ü for example. its possible the encoders you are trying don't recognise non-english characters

Upvotes: 0

Alex W
Alex W

Reputation: 38173

This decoder works better:

http://www.opinionatedgeek.com/dotnet/tools/urlencode/Decode.aspx/

The %25 that you see is the actual percent character % being encoded

http://en.wikipedia.org/wiki/Percent-encoding

Percent-encoding, also known as URL encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances.

... 

it is also used in the preparation of data of the "application/x-www-form-urlencoded" media type, as is often used in the submission of HTML form data in HTTP requests.

Upvotes: 1

Related Questions