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
1
vote
3 answers
How to decode this PHP code?
I want to decode this code. I have no idea what it is, except that it is some kind of code.
Can someone help me please?

rgksugan
- 3,521
- 12
- 45
- 53
1
vote
0 answers
Can't decode UTF-8 umlaut in C#
I have the fallowing problem:
I request a HTML-document which includes an array like this:
"entries":[{"element1":"Gem\u00fcse","element2":"zw\u00f6lf","element3":"n\u00e4chster"}]
by using the following code:
WebRequest wRequest =…

Petre Klauser
- 11
- 3
1
vote
1 answer
How would I decode a hex value to ASCII in c++
This is not a duplicate question because the other one is asking how to convert hex to a string, not decode it.
I want to convert a hex value to an an ASCII character. I want to do the exact same thing you can do in this website:…

AAAAAAAAAAAAAAAAAAA
- 25
- 8
1
vote
1 answer
What is format of below image data recieved in response body and how to save it as jpeg file using Node.js
I am getting weird image data in response. Is there any Idea how I can convert this and store as .jpeg file using Node.js…

user3640709
- 83
- 1
- 9
1
vote
3 answers
How to pull strings out of JSON object
Here is the code
$jsonString = urldecode($json);
$jsonString = str_replace("\\", "", $jsonString);
$data = JSON_decode($jsonString);
mysql_select_db($database) or die('Cannot connect to database.');
print_r($data);
output:
stdClass Object (…

hitek
- 372
- 1
- 17
- 33
1
vote
1 answer
Apktool decompiling/decoding exception
I want to recompile adidas app. When I use Apktool in Windows CLI, the exception is raised:
C:\Apktool>apktool d adidasConfirmed.apk
I: Using Apktool 2.2.2 on adidasConfirmed.apk
I: Loading resource table...
Exception in thread "main"…

Igor Savinkin
- 5,669
- 8
- 37
- 69
1
vote
1 answer
Decode non-ascii characters in an ascii file?
I'm parsing a file which is in ascii format but includes non-ascii characters in big5 (Trad. Chinese).
For details is a CWR file from CISAC.
I'm trying to decode the non-ascii characters unsuccesfully.
Here an example…

xtarafa
- 41
- 3
1
vote
2 answers
How to use PHP to fetch and decode JSON data?
How can I get variables "price_usd" and "price_btc" from JSON url https://api.coinmarketcap.com/v1/ticker/ethereum/? I wrote a script but nothing happens.

jack smith
- 7
- 1
- 3
1
vote
2 answers
How to parse/decode JSON using Java from bufferReader output?
I got a JSON output. Now need to parse the JSON String.
Some part of my code:
int responseCode = con.getResponseCode();
System.out.println("\nSending 'POST' request to URL : " + url);
System.out.println("Post parameters : " + query_en);
…

Nabila
- 11
- 1
- 5
1
vote
0 answers
How to convert all source code to dex file [Android Decomplie]
I have some problems with my project. I lost all source code yesterday, I have apk that signed and uploaded to google play. Now I need to decode apk file to get all source code back. After that, I want to change some feature in source code class.…

Dương Nguyễn Văn
- 408
- 4
- 17
1
vote
2 answers
What's wrong with this assignment of json object from php to javascript?
I need to pass the value of a php json object to javascript. This is how I am doing it;
This is php SearchResults function that returns json:
…

XCeptable
- 1,247
- 6
- 25
- 49
1
vote
1 answer
Decode an JFIF image file in C#
I have a JPEG image which is JFIF formatted. I want to decode it and get the dimension.
Here is my code:
while (binaryReader.ReadByte() == 0xff)
{
byte marker = binaryReader.ReadByte();
ushort chunkLength =…

delpielo
- 146
- 3
- 11
1
vote
2 answers
Qr barcode using Wpf
Has anyone worked with QR barcode using WPF? Is there a free library for Wpf?

hashtag
- 63
- 3
- 12
1
vote
1 answer
How to decode a base64 string and select input charset using php?
How to decode a base64 string and select input charset using php?
For example it works correctly here : https://www.base64decode.org
I want decode a base64 string using php and I want select Windows-1252 charset.
I use this code:…

sj59
- 2,072
- 3
- 22
- 23
1
vote
0 answers
encode and decode in android studio
i am trying to make converter by getting input from editText then encode it and get back decoded value. i want to do this on editText event or if not possible then on button click event?
complete this code please
public class MainActivity extends…

Kinza Yasin
- 19
- 1
- 2