Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
99 views

The console doesn't display the non-English text input into it correctly, when it's later outputting them. However the text displays correctly when the user inputs them. Some of the non-English ...
Rudolf Snail's user avatar
0 votes
0 answers
220 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
1 answer
1k views

When I send an error message from my express nodejs app using res.status(400).send(err.stack);, I cannot seem to get out of the decoder stream I setup on the receiving end. Here is my code in the ...
Chapo's user avatar
  • 2,663
4 votes
3 answers
1k views

How can I read NUL-terminated UTF-8 string from Java ByteBuffer starting at ByteBuffer#position()? ByteBuffer b = /* 61 62 63 64 00 31 32 34 00 (hex) */; String s0 = /* read first string */; String s1 ...
jiwopene's user avatar
  • 3,767
0 votes
0 answers
78 views

This must've been asked before, but I couldn't find it. I want to allow my users to enter text into an HTML form, and later to display that text in the webpage, exactly as it was written, avoiding: ...
OpenSauce's user avatar
  • 8,673
1 vote
0 answers
107 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
460 views

I happened to come across a file while changing images for a Toontown Rewritten's Context Pack I've been working on and I stumbled across this file marked Butterfly7198.txt and upon clicking on it, ...
ObeastPepsiMan's user avatar
-3 votes
1 answer
221 views

I've created a Cipher Algorithm (in Python) which will Generate a Random String of 255 Characters - which is my Key for Encryption. Example Encryption: originalString = ‘A Quick Brown fox Jumps over ...
Mr. Hobo's user avatar
  • 563
2 votes
0 answers
438 views

Having problems with TextDecoder decoding Uint8Array. (background info) var staring = "hello"; var array = new Uint8Array(2); array[0]=255; array[1]=0; var binary=(new TextDecoder("utf-8")).decode(...
n0sr3v's user avatar
  • 21
0 votes
2 answers
47 views

I have a little issue in my project. I fetch a JSON with strings like this "Paris 11'e8me", I want this to be displayed as "Paris 11ème". My guess is that the string is encoded in sthg like ...
nope's user avatar
  • 3
0 votes
1 answer
12k views

I am trying to decode a string from base64 to UTF-8 for an assignment. Not having programmed Java for a while I am probably not using the most efficient method, however I managed to implement a ...
Vincent B.'s user avatar
2 votes
1 answer
2k views

I'm using nvprof to profile something (which includes both CPU work and GPU work, i.e. I use nvprof markers etc.), and I get binary files which nvprof produces. I can import these into NVVP (NVidia ...
einpoklum's user avatar
  • 137k
1 vote
2 answers
497 views

So given this input string: =?ISO-8859-1?Q?TEST=2C_This_Is_A_Test_of_Some_Encoding=AE?= And this function: private string DecodeSubject(string input) { StringBuilder sb = new ...
Jason Miesionczek's user avatar