To convert some encoded data (e.g. bytes, electrical signals) to some representation ready for further processing (e.g. string, object, picture)
Questions tagged [decode]
4353 questions
27
votes
3 answers
How to decode encrypted wordpress admin password?
I forgot my WordPress admin password, and I see it in the phpMyAdmin file.
But it is in a different form.
How I can decode it to know what my password is?
Is there any tool for decoding passwords?
$P$BX5675uhhghfhgfhfhfgftut/0
Help me.

Mindus
- 393
- 1
- 3
- 5
27
votes
4 answers
Fastest PNG decoder for .NET
Our web server needs to process many compositions of large images together before sending the results to web clients. This process is performance critical because the server can receive several thousands of requests per hour.
Right now our solution…

sboisse
- 4,860
- 3
- 37
- 48
26
votes
3 answers
How to escape url encoding?
I am creating a link that creates URL parameters that contains links with URL parameters.
The issue is that I have a link like this
http://mydomain/_layouts/test/MyLinksEdit.aspx?auto=true&source=
…

omega
- 40,311
- 81
- 251
- 474
25
votes
1 answer
A plain JavaScript way to decode HTML entities, works on both browsers and Node
How to decode HTML entities like ' to its original character?
In browsers we can create a DOM to do the trick (see here) or we can use some libraries like he
In NodeJS we can use some third party lib like html-entities
What if we want to…

Henry He
- 947
- 1
- 7
- 11
25
votes
2 answers
Encode/Decode AndroidManifest.xml inside APK
I'm using ApkTool to decode AndroidManifest.xml inside an APK file and it works perfectly but how can I encode it again ,the same way it was encoded before, after applying some changes? For example (in my case) changing the app label.

Soheil Setayeshi
- 2,343
- 2
- 31
- 43
24
votes
4 answers
Why doesn't decodeURI("a+b") == "a b"?
I'm trying to encode URLs in Ruby and decode them with Javascript. However, the plus character is giving me weird behavior.
In Ruby:
[Dev]> CGI.escape "a b"
=> "a+b"
[Dev]> CGI.unescape "a+b"
=> "a b"
So far so good. But what about Javascript?
>>>…

Tom Lehman
- 85,973
- 71
- 200
- 272
24
votes
3 answers
Decoding double encoded utf8 in Python
I've got a problem with strings that I get from one of my clients over xmlrpc. He sends me utf8 strings that are encoded twice :( so when I get them in python I have an unicode object that has to be decoded one more time, but obviously python…

Chris Ciesielski
- 1,203
- 2
- 10
- 19
23
votes
6 answers
Is there a faster way to decode html characters to a string than Html.fromHtml()?
I am using Html.fromHtml(STRING).toString() to convert a string that may or may not have html and/or html entities in it, to a plain text string.
This is pretty slow, I think my last calculation was that it took about 22ms on avg. With a large…

cottonBallPaws
- 21,220
- 37
- 123
- 171
23
votes
1 answer
Wordpress search failed on special characters due to improper decode
I am implementing the Wordpress search functionality.
When I search for text "Division's" (which is a text in one of the posts),
It returns "No results found"
Now to investigate further, I checked the core file:
wp-includes/query.php => function…

cosmoloc
- 2,884
- 5
- 29
- 48
23
votes
3 answers
decodeAudioData HTML5 Audio API
I want to play audio data from an ArrayBuffer... so I generate my array and fill it with microfone input.
If I draw this data on a canvas it looks like -->
So this works!
But if i want to listen to this data with
context.decodeAudioData(tmp,…

Cracker0dks
- 2,422
- 1
- 24
- 39
23
votes
2 answers
DOM Exception 5 INVALID CHARACTER error on valid base64 image string in javascript
I'm trying to decode a base64 string for an image back into binary so it can be downloaded and displayed locally by an OS.
The string I have successfully renders when put as the src of an HTML IMG element with the data URI preface (data:…

user1387717
- 1,039
- 1
- 13
- 30
22
votes
3 answers
Android how to scale an image with BitmapFactory Options
I want to decode an image from the SD card with BitmapFactory.decodeFile(path, options).
I also want images that are larger than 2048x2048 pixels to be scaled down to at most 2048x2048 (maintaining the proportions).
I could do this manually after…

saarraz1
- 2,999
- 6
- 29
- 44
22
votes
8 answers
Swift base64 decoding returns nil
I am trying to decode a base64 string to an image in Swift using the following code:
let decodedData=NSData(base64EncodedString: encodedImageData, options: NSDataBase64DecodingOptions.IgnoreUnknownCharacters)
Unfortunately, the variable decodedData…

redamakarem
- 327
- 1
- 3
- 13
21
votes
1 answer
Decode Base64 string to byte array
I would create a python script that decode a Base64 string to an array of byte (or array of Hex values).
The embedded side of my project is a micro controller that creates a base64 string starting from raw byte. The string contains some no-printable…

Federico
- 1,117
- 6
- 20
- 37
21
votes
6 answers
decode SMS reporting GPS positions of Lions in Kenya
The Mara-Naboisho Lion Project has asked for our help decoding and plotting the positions of lions fitted with GPS collars.
They receive SMSes from the…

Will
- 73,905
- 40
- 169
- 246