Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
206 views

I used Azure Data Labelling to prepare my Semantic Segmentation (Preview) Dataset and export it from Azure into my Local System. Now I have images in images folder and Labels in Json file. I'm trying ...
Muhammad Faizan's user avatar
0 votes
1 answer
212 views

I want to get proper encoded string value from decoded string. In my database one column is storing value in this way. UA8SMvak9gq+mjrj6C6BR9atmlA= This value is saving from distributed memory ...
Sami In's user avatar
  • 326
0 votes
0 answers
257 views

From a server, I get an encrypted and base 64 encoded string, these are criteria used to encrypt it. aes 256 cbc encryption system with hexadecimal digest the key is hash sha 512 of a phone number ...
biggreentree's user avatar
  • 1,971
0 votes
0 answers
226 views

I create a pair of ed25519 keys and then used the cryptography Python library to sign an auth code with the private key: private_key = serialization.load_ssh_private_key(open('ed25519', 'rb').read(), ...
Sarthak Rastogi's user avatar
0 votes
0 answers
80 views

I have an address with French chars - Vétéran. In table column it is read as Vétéran when using SMS select. The server language is English. When I copied Vétéran to Word, it remained the same. I ...
William Li's user avatar
0 votes
1 answer
740 views

So I have JSON, which has string keys and values which can be either strings or custom JSON, when I put json there (even if I put it in quotes) JSONDecoder throws an error "The given data was not ...
Andrii's user avatar
  • 28
0 votes
0 answers
10k views

I just started coding with Python , I have an image that is supposed to be decoded by the base64 module as I understood , but I keep getting this error :" Invalid base64-encoded string: number of ...
Aymen Gadri's user avatar
-1 votes
1 answer
390 views

I am implementing showing html data received from server in web view in swift ... I ma getting html data from server in following format (just part of data string) I want to convert this to proper ...
Chetan's user avatar
  • 79
0 votes
1 answer
246 views

I'm attempting to reverse engineer an encoding algorithm to ensure backwards compatibility with other software packages. For each type of quantity to be encoded in the output file, there is a ...
bbpsword's user avatar
0 votes
1 answer
388 views

When trying to decode a message from Gmail using official GoogleAPIs, I am running into unexpected issues when trying to decode the body data from the full message get request. The code used to ...
MischiefCoding's user avatar
0 votes
0 answers
90 views

I have a sql script that is saved as binary data. I read it in the standard way. with open('data.sql', 'rb') as f: var = f.read() var_text = var.decode('utf-8', errors='replace) When I ...
Todd Shannon's user avatar
1 vote
1 answer
2k views

Suppose that S is a string containing only 0 and 1. I would like to count the number of not null substrings of S in which the number of 0s is less than the number of 1s. Using brute-force method given ...
Adeeb HS's user avatar
  • 169
0 votes
1 answer
320 views

I grabbed text from a specific classes child nodes using this subroutine elements = WebDriverWait(self.driver, 10).until(EC.presence_of_all_elements_located((By.CLASS_NAME, "gamesRow"))) for ...
booshwayne's user avatar
6 votes
1 answer
32k views

The Json response has an gzip encoded string. var dataList = [ {"Data": "compressedata"}, {"Data": "compressedData"} ]; I tried so many methods to ...
user avatar
0 votes
2 answers
1k views

I have read the answer here. I understand what a byte stream is (a stream of 1s and 0s), encoding is (a mapping from that stream to what characters that we humans understand) and decoding is (a ...
figs_and_nuts's user avatar
-1 votes
1 answer
173 views

I am parsing a source that frequently contains / encoded as \/. For example, https:// is encoded as https:\/\/. What is the name of this encoding? It appreas to be used when sending json in HTML. It ...
Robert Segdewick's user avatar
5 votes
2 answers
12k views

I am struggling to successfully decode a JPEG image from bytes, back to JPEG again. I started from encoded frame from a MJPG bytes stream, which I want to decode in order to manipulate with OpenCV. I ...
CodeFlan's user avatar
  • 115
0 votes
1 answer
120 views

I have a requirement where I need to encode data in "iso-8859-1" and then convert back it to readable string in node js. In .Net env: string encodedData = "VABpAG0AZQAgAHMAZQByAGUAaQBzAA=="; ...
racras's user avatar
  • 11
1 vote
2 answers
744 views

I am loading data into a pandas dataframe from an Excel sheet and there are a lot of non display characters in many columns that I want to convert. The most prevalent is an apostrophe being used in a ...
Justin's user avatar
  • 11
0 votes
1 answer
807 views

I need to read the highest temperature on thermographic images, as shown below: IR_1544_INFRA.jpg IR_1546_INFRA.jpg IR_1560_INFRA.jpg IR_1564_INFRA.jpg I used the following code, this was the ...
Bruno Marques's user avatar
1 vote
1 answer
3k views

I was given a string with special characters (which should be french characters) and want to make it display correctly in csv/excel: s1 = 'Benoît' # take a look at encoding print(s1.encode(encoding=...
YJZ's user avatar
  • 4,244
0 votes
1 answer
582 views

I have a String being sent in the request payload by a client as: "[0xc3][0xa1][0xc3][0xa9][0xc3][0xad][0xc3][0xb3][0xc3][0xba][0xc3][0x81][0xc3][0x89][0xc3][0x8d][0xc3][0x93][0xc3][0x9a]Departms" I ...
A.J's user avatar
  • 9
1 vote
1 answer
4k views

I currently having an issue with the Avro JsonDecoder. Avro is used in Version 1.8.2. The .avsc file is defined like: { "type": "record", "namespace": "my.namespace", "name": "recordName", "fields": [...
fx88's user avatar
  • 43
2 votes
1 answer
5k views

I am using JDK 1.6 and facing issue while trying to encoding/decoding French words. My code is under: String setText = "Vos factures impayées Internet sont"; String encodedText= Base64.encode(setText....
Touqeer's user avatar
  • 87
0 votes
1 answer
1k views

my project requires converting Arabic text to binary , then convert binary to text (reverse process). I used this code,but I notice that when I use utf-16 to convert string to binary, then read this ...
Norah A's user avatar
  • 11
1 vote
1 answer
630 views

I'm getting xml file which I need to handle in my SpringBoot Rest controller. But I have problem with parsing cyrillic chars. In my controller these symbols look like this: d�鲲𠲨㮮弯. I was trying to ...
RomanK's user avatar
  • 47
1 vote
0 answers
109 views

I am using paramiko to connect to a win10 server (client is Linux) and for most parts communication is OK. But when i read the response to a command (via recv()) , i see some strange data. Example: ...
psb's user avatar
  • 75
1 vote
1 answer
106 views

I am getting encoded strings while parsing text files. I have no idea on how to decode them to english or it's original language. "info@cloudag.&...
kotu b's user avatar
  • 333
1 vote
1 answer
607 views

Using the the program at this link, https://leon.bottou.org/projects/infimnist, I generated some data. As far as i can tell it is in some sort of binary format: b"\x00\x00\x08\x01\x00\x00'\x10\x07\...
user avatar
0 votes
1 answer
972 views

I'm sending string from Arduino to PC using serial communication. Format of message includes char, value and space (separating data). Example message: "H123 V2 L63 V2413 I23 CRC2a". I have problem ...
albert828's user avatar
1 vote
1 answer
331 views

I am trying to decode base64 String to UIImage in Swift 4.2. I have tried almost every solution on stackoverflow but it's not working. I have tried converting the string with NSData, it didn't work. ...
Hashir Saeed's user avatar
2 votes
1 answer
4k views

In Ruby, I'm using the string.unpack method to decode some data. I'm migrating this code into a Golang app, however I can't find a corresponding method in the standard library? The ruby code is: str....
Ben Toogood's user avatar
-1 votes
1 answer
2k views

Got a string in ASCII (with only ASCII value ranges for A-Z, a-z, and " "), want to decode it. ex. "781059910132" cooresponds to "Nice " Is there an easy way to do this in Python 3?
SS''s user avatar
  • 857
-1 votes
1 answer
216 views

function decodeString(s) { let arr = []; let digitSum = ''; let digitSumArr = []; // for numbers before '[' let i; //iterating string for (i = 0; i < s.length; i++) { ...
Vahe Ghevondyan's user avatar
0 votes
2 answers
913 views

I'm fairly new to Python so I'm probably still making a lot of rookie mistakes. I was comparing two seemingly matching strings in Python, but it always returned false. When I checked the ...
Bastiaan Andriessen's user avatar
3 votes
0 answers
532 views

We are working on exporting a bunch of data from a 3rd party system and bringing it into our own. The only good way to do this is to use the SQL database. We have had a good amount of success finding ...
Matt0's user avatar
  • 99
0 votes
0 answers
880 views

I am working on a project on Machine learning. When I download the .csv file, some of the features have values in an unknown format. Something like СвердловÑÐºÐ°Ñ Ð¾Ð±Ð»Ð°Ñть and Личны...
Nikhil's user avatar
  • 37
3 votes
1 answer
2k views

In JSON file, I am receiving the base64 encoded string. It may contain image file, pdf file, doc or text file or audio/video file. How can I show/play audio/video in iOS from base64 encoded string? ...
Nikita Patil's user avatar
-1 votes
1 answer
61 views

My database value is École Polytechnique Fédérale de Lausanne. I cannot convert to html characters. I tried to convert using following method, echo html_entity_decode(École Polytechnique Fédé...
Lucky13's user avatar
  • 11.5k
1 vote
1 answer
2k views

Python has a nice function to decode hex and unicode characters in Strings, like so: print "123\x20Fake\x20St\u002e".decode('unicode_escape') Will print: 123 Fake St. Is there anything similar in ...
javamonkey79's user avatar
  • 17.8k
0 votes
1 answer
1k views

just another question about encoding in python i think. I have this programm: regex = re.compile(ur'\b[sw]\w+', flags= re.U | re.I) ergebnisliste = [] for line in fileobject: print str(line) ...
Joschi's user avatar
  • 3
0 votes
2 answers
3k views

For Example I have a file like as follows . A,Y29tLz9hPTQ2JmM9NDQzNzgmczE9Q0,123 B,FJNLTA2MjQyMDE3LVAmczI9ODQ3MDA,321 I want to print field1,field2(by base 64 decoding),field3 Output ...
Jyothi Tulasi's user avatar
4 votes
2 answers
3k views

I want to read meta data for transaction (which is supported in Kafka 0.11.0.1) so that I can figure out that whether the transaction for a particular transactional ID has been committed or not. ...
Shrinivas Kulkarni's user avatar
0 votes
1 answer
313 views

i have this method for decoding: -(NSString *)decrypt:(NSString *)encryptedTextValue withSecret:(NSString*)secret { NSData *encryptedData = [NSData base64DataFromString:encryptedTextValue]; ...
David's user avatar
  • 889
1 vote
1 answer
3k views

This is a simple Procmail recipe to filter emails depending on subject: :0 * ^Subject: .*Content to filter $HOME/Maildir/.INBOX.My_filtered_folder/ The above very simple Procmail recipe works without ...
Monty's user avatar
  • 11
-1 votes
1 answer
1k views

I am writing a Python to process a log file. The program decrypts a base64 encoded string between two patterns. Whenever I run the code I get "Incorrect Padding Error" Here is my code import ...
mahbuhsj's user avatar
0 votes
3 answers
1k views

How to decode String which contains characters like 'Total\x20Value' my actual value is 'Total Value' Using javascript it is getting decoded by the browser like: if I write on browser console: var a = ...
Krishna Verma's user avatar
0 votes
2 answers
3k views

How do I decode this to get the result below? /browse_ajax?action_continuation=1\u0026amp;continuation=4qmFsgJAEhhVQ2ZXdHFQeUJNR183aTMzT2VlTnNaWncaJEVnWjJhV1JsYjNNZ0FEZ0JZQUZxQUhvQk03Z0JBQSUzRCUzRA%...
user avatar
5 votes
1 answer
8k views

The aim was to create a database of TfRecords. Given: I have 23 folders each contain 7500 image, and 23 text file, each with 7500 line describing features for the 7500 images in separate folders. I ...
I. A's user avatar
  • 2,322
0 votes
1 answer
551 views

This is an interview practice problem from CodeFights. I have a solution that's working except for the fact that it takes too long to run for very large inputs. Problem Description (from the link ...
krkaudio's user avatar