Questions tagged [decode]
To convert some encoded data (e.g. bytes, electrical signals) to some representation ready for further processing (e.g. string, object, picture)
4,131
questions
0
votes
0
answers
10
views
Google Decode Integrity Token Error: URL not found
So I managed to get the Integrity Token and Decode it as described here Google PlayIntegrity API: a Nightmare (solved) but now I have some bizarre situation.
I get the correct decode answer from the ...
0
votes
0
answers
15
views
creating pdf with jsPDF doesn't work right in a foreign language
I'm trying to create a pdf with jsPDF and it works great when the text inside the PDF file is in English. The problem is that I'm creating this for a Hebrew website, and for some reason the text ...
0
votes
0
answers
18
views
I want to find a way around transcoding while containing bitstream into a file
Now that I added a recording function using RecordRTC with mediasoup, I would like to do away with transcoding during the process.
current dataflow :
Can I contain the bitstream into a file without ...
0
votes
1
answer
43
views
Decode string with PKC7 in Java?
There is the same question here:
Decode string with PKC7 in Java
I tried the solution described there, but obviously it is a little outdated, because in the current bouncycastle library there is no
...
-2
votes
0
answers
17
views
How to decode a Persian text to It's original form [duplicate]
I have this text : ð ÙØ§ÙÛØ¨Ø§Ù
I know it is a text that is in Persian language.
How can i convert that text to it's original readable Persian look?
0
votes
1
answer
36
views
Decoding the unknown objects back to original form in swift
I have RAWJSON Class which Used to store and operate objects of unknown structure that's not possible to decode.
public indirect enum RawJSON: Codable, Hashable {
case number(Double)
case ...
0
votes
0
answers
14
views
Spliting Raw Audio Data packet into ogg Format containing ID header, Comment Header and the audio data packet
I have written a python code to receive audio from a channel. However, the audio is raw and it needs to split into 3 parts i.e. ID, Comment and finally the Audio as shown in - packet Organization
b&...
0
votes
0
answers
42
views
i need to decode the obfuscation on a script
I paid an untrusted developer for a script. And as I thought he scammed me. He did send me code, but he obfuscated the script. It is for a game called "Roblox" that uses Lua, the code will ...
0
votes
1
answer
45
views
Golang *http.Request doesn't take my json request, It is saying "unexpected end of JSON input" [closed]
func DecodeJsonRequest(r *http.Request, interfaceRef interface{}) error {
data, err := ioutil.ReadAll(r.Body)
if err != nil {
return err
}
if err := json.Unmarshal(data, ...
0
votes
0
answers
18
views
Spring Boot request Parameters not decoding '+'
This problem is only applicable to a few instances of our Spring Boot server in one environment. A server is running several instances in three different environments(DEV/TEST/PROD). The following ...
0
votes
0
answers
26
views
How do I decode ASCII data in NiFi?
I want to decode an ASCII string corresponding to an attachment using NiFi.
Here is an excerpt from the flow file:
<BinaryHexObject>01234567890ABCDEF</BinaryHexObject><...
1
vote
1
answer
56
views
Asp.net C# JWT Decode with private key (.p12)
I need to decode the encryptedToken with private key file .p12..
For private key, I already assign in X509Certificate2 and calling with
RSA privateKey = _x509private.GetRSAPrivateKey();
I am not using
...
0
votes
0
answers
25
views
JSON string parsed from BSON to dictionary
I have a BSON document parsed into a JSON file as below:
"_id": {
"$oid": "62a2c8478adbafa1e43c069d"
},
"action": "",
"client_id": {
...
-1
votes
0
answers
17
views
How can i read this data more easily?
How can i read this data more easily?
Code:
from netfilterqueue import NetfilterQueue
def dns(packet):
print(packet.get_payload())
packet.accept()
dns_spoof = NetfilterQueue()
dns_spoof.bind(...
1
vote
1
answer
35
views
Pyspark - How to decode a column in URL format
Do you know how to decode the 'campaign' column below in Pyspark? The records in this column are strings in URL format:
+--------------------+------------------------+
|user_id |campaign ...
0
votes
0
answers
16
views
How to put binary file (or 3D model) hardcoded into script
I have a 3D model, GLB or GLTF (with a texture image and a bin file). I am currently building a project with THREEJS and using GLTFLoader to load the model from a given URL. However, I don't want to ...
0
votes
2
answers
42
views
Convert ASCII decimal to string
I have a string in representation of ASCII decimal stored in a column in my db:
[104 105]
this converts to hi.
I need to be able to convert my column into string representation.
I know I can use ...
0
votes
1
answer
56
views
Decode a utf8 string in python
I have a problem about encode and decode in Python. I want to encode a plain text in Vietnamese by my algorithm, but this algorithm can't encode a vietnamese plaintext, so I convert it to UTF-8 by ...
0
votes
0
answers
28
views
How to split bytes into bits [duplicate]
I have datas of n-bit samples
For example, if each sample is 7bits and
1st sample = 1 = 0b 000 0001
2nd sample = 2 = 0b 000 0010
3rd sample = 3 = 0b 000 0011
…
each sample is compressed consequently
...
0
votes
2
answers
40
views
how to parse complex JSON in perl
I have the following JSON content and I am trying to parse it by using perl (use JSON qw( decode_json );
here you have the complete JSON content,
{
"page": {
"currentPage": 1,...
-1
votes
0
answers
39
views
how to scrape data from url and decode it with Python?
I need to write code to scrape data from a certain url, the problem is that i don't know how to decode it.
What I got from requests is different from what I got using chrome.
import requests
from bs4 ...
0
votes
0
answers
28
views
When decoding the qr code, the program stops at the opening of the photo. Separate function works
Saving photo:
def save_photo(photo): #saving photo
file_info = bot.get_file(photo.photo[len(photo.photo) -
1].file_id)
downloaded_file = bot.download_file(file_info.file_path)
...
1
vote
1
answer
35
views
Is There a Snowflake Update SQL Statement to Decode UTF-8 Bytes?
I have data in a Snowflake table column that looks like this...
These are actually Japanese characters \xe3\x81\xaa\xe3\x81\x9c\xe6\x97\xa5\xe9\x8a\x80\xe3\x81\xa0\xe3\x81\x91\xe9\x81\x95\xe3\x81\x86\...
0
votes
1
answer
31
views
Python: Converting Mixed Decoded UTF-8 Characters to Text
Using a RESTful service, I have a Python 3.x script download text data from a vendor and land it to a text file. The data contains text that includes decoded UTF-8 characters. Here's an example of the ...
1
vote
1
answer
18
views
Oracle: fetch value of columns based on another table column
I have two tables, one of them is a main table and the other is the decode. The decode has 142 rows and 2 columns. Cause of death code and description. The main table has person information and the ...
0
votes
0
answers
57
views
how to convert a a hex byte stored as string to hex byte in python
i have a list of hex byte that have stored as string in Mongodb because Mongodb doesn't support hex byte my data is :
'topics': ['0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef', '...
1
vote
1
answer
22
views
How to use decode in IICS when field data contain single quote?
I am new to IICS and my fields that I want to decode looks like below. As you can see the "Outlet_Name" column contains row "NH D'needs". My requirement is to use both columns i.e. ...
0
votes
0
answers
24
views
I can't decode a video using DCPM losslessly
I am trying to encode and decode a video losslessly using the DCPM technique which states that you send the first frame of a video as it is and then you calculate the difference to the next frame as ...
0
votes
0
answers
36
views
I can't access data from object after json_decode
I have a SQLite database with a Targets table in which there is a json registry. This json is parsed by json_decode to get an object. I'm trying to access data from the object like normally, but i can'...
1
vote
1
answer
92
views
download_as_text from Google Cloud Storage Blob / Object causes UnicodeDecodeError
I am trying to obtain human-readable text from a PDF stored as a Cloud Storage Blob / Object. The documentation tells me that the download_as_string() method is deprecated in favor of using ...
0
votes
2
answers
74
views
Error reading file -- 'utf' can't decode byte 0xff in position 45: invalid start byte
I've got these two scripts right here, send.py and receive.py. Send.py is a host, it opens a connection and waits for receive.py to connect. Once the connection is successfull, in theory, I could send ...
0
votes
1
answer
49
views
What kind of LUA encoding is that?
everyone,
I am not so familiar with coding but I have been looking for hours now without answer. Maybe because I do not know what am I looking for.
I have found an LUA code with the below encoded code,...
-2
votes
1
answer
87
views
OpenWeather One Call API coord not loading
In my Weather app, I call the OpenWeather One Call API.
In my Xcode debug console, I get:
Error getting weather: keyNotFound(CodingKeys(stringValue: "coord", intValue: nil), Swift....
0
votes
0
answers
14
views
What is chapter 0x7606 in Tachograph Data Files?
I am working on software which reads out Tachograph data files(.ddd/.esm).
These are basically made up out of chapters.
My issue is, I recently found a file which had a chapter I'd never seen before. ...
0
votes
1
answer
33
views
CRC16-CCITT for shipborne AIS
I am trying to decode an AIS transmission and validate it by checking CRC code.
However, I am not sure of the sequence of steps, nor the expected result.
My question is, can anyone tell me the correct ...
-1
votes
1
answer
33
views
OpenBSD Encode and Decode Base64
According to what I read, OpenBSD seems to have its own system on encoding and decoding using Base64. However,I cant find any literature whatsoever that can describe it mathematically. my question is, ...
0
votes
1
answer
22
views
Problem unzipping pdf file with special character (in pdf) in a flutter application
please
I'm not able to find a solution to unzip a .zip file that has a pdf with accent in name, something like:
name.zip -> nâmé.pdf.
It's not something I can handle when saving the file because ...
0
votes
0
answers
37
views
How to decrypt Buffer in Javscript?
I have the second response from API:
{"tx":{"type":"Buffer","data":[1,0,9,20,232,158,30,253,102,91,224,142,24,139,235,24,185,117,167,176,38,148,28,20,41,129,248,...
0
votes
1
answer
24
views
Extract element from nested JSON
There is json response:
{
"id": "1234567890123456789",
"creation_date": 12345678,
"event": "WAITING_PAYMENT",
"version": "2.0.0",
"data": {
"product": {
"id": 213344,
"...
0
votes
0
answers
41
views
Decode a string in html / javascript (have tried base64 decoder but did not work)
I'm analyzing a web, but I met a situation like this. I have tried to use base64 decoder to decode it but it did not work. What kind of encode method it used here?
<input type="hidden" id=...
0
votes
1
answer
61
views
_CastError (type 'String' is not a subtype of type 'Map<String, dynamic>' in type cast) in Flutter
I am using an API for my request. I am taking the response from API as JSON but I can't decode JSON to Map because of this error
_CastError (type 'String' is not a subtype of type 'Map<String, ...
0
votes
1
answer
52
views
EUC-KR encoded XML Shows as invalid Korean character
We are fetching a EUC-KR encoded XML data <?xml version='1.0' encoding='EUC-KR' ?> , while printing the value in console or saving the data in file show as <![CDATA[����Ư���� ������ �������87�...
0
votes
1
answer
36
views
sql decode case when
decode (case when sd='N' and sr_corp_support='0' then sr_corp_agree else null end, '1','0','0','1','') as sr_corp_agree,
hi I am having trouble understanding this code
it seems to me when some ...
0
votes
2
answers
46
views
what is the encoding method for message like this b'\xf1p&r\
I am testing sslkeylog python package to exact TLS master secret as below. I was successfully get the master_key, however the outoupt is hard to understand. What is the encoding of the following b'' ...
0
votes
0
answers
20
views
decoding csv image base64 files with drag and drop
Is there a way I can drag and drop csv files containing a (image encoded base64 text) to a jar file and and then get the decoded result in jpg in the directory?
i am trying to understand the logic but ...
0
votes
0
answers
52
views
Decoding from "Base64" format to "ASCII" string
I'm new to python and I need your help. I need to decode the request returns a JSON that contains an Array of Strings in Base64 format.
Return example:
{'doc': ['...
0
votes
1
answer
18
views
absolute file reference path not recognizing "\b" in subfolder "\bobby" of my file reference string as text
apologies if this has been asked before. I am currently learning to read/write to files using absolute referencing in Python. I am unfortunate enough to be named Bobby - meaning that my absolute ...
-1
votes
3
answers
77
views
Decoding Base64 String in Java
I'm using Java and I have a Base64 encoded string that I wish to decode and then do some operations to transform.
The correct decoded value is obtained in JavaScript through function atob(), but in ...
0
votes
2
answers
34
views
What is the format called when there is a bunch of numbers between backslashes?
I'm currently reading through some code right now, and this stuff keeps appearing. How would I decode this, and what is it called?
\108\111\97\100\40\34\92\50\55\92\55\54\92\49\49\55\92\57\55\92\56\50\...
0
votes
0
answers
41
views
Special Characters of MultipartFile file is converted into ? in springboot
when I upload a file and pass it to Rest Controller the special chars of filename are converted into ? in spring boot .for example ```.pdf is converted into ???.pdf.
before rest call:
for (...