Linked Questions

0 votes
0 answers
26 views

I am trying to create a messaging system,but first I would like the code to be able to do the following: Client sends a string Server receives the string and echos it back to the client that sent it ...
LoveMeow's user avatar
  • 4,058
381 votes
25 answers
982k views

I have to convert a byte array to string in Android, but my byte array contains negative values. If I convert that string again to byte array, values I am getting are different from original byte ...
Jyotsna's user avatar
  • 4,501
52 votes
4 answers
31k views

I am quite confused about the concept of character encoding. What is Unicode, GBK, etc? How does a programming language use them? Do I need to bother knowing about them? Is there a simpler or faster ...
hguser's user avatar
  • 36.2k
2 votes
1 answer
6k views

I was wondering if it is possible to send a byte[] over the Soap Request. Is it? If so, how can i do it using javax.xml.soap.*? I only know how to do it sending strings. private static SOAPMessage ...
user avatar
-1 votes
1 answer
3k views

I have a maven web application in which I use JSF and spring. I want to parse a csv uploaded file with fileUploadListener. The file is uploaded, but I don't know how to get data from it and store it ...
elpazio's user avatar
  • 715
0 votes
2 answers
1k views

I have an array of bytes b: b = [-98, -99] I need to pass this segment of data to a function. The function takes a String (this is not changeable). How do I get Java to interpret the raw binary ...
JHowIX's user avatar
  • 1,801
-3 votes
1 answer
842 views

Bytes of recorded audio was sent together with HTTP request body. When the request is received on the server side, the audio data looks like this: \u0000\u0000\u0000\u0000\u0000\u0000��\u0002\u0000���...
Random Forkson's user avatar
1 vote
0 answers
343 views

This is image of my data base as you can see here image insert successfully in byte format. This structure of database public void onCreate(SQLiteDatabase db) { final String[] creatStatments = ...
DJhon's user avatar
  • 1,518
1 vote
2 answers
237 views

I'm storing JSON information in a database, and I want to convert all values to bytes before storing, BUT retain type information. So, for the types String, Integer, and Boolean, I want to be able to ...
Jamie's user avatar
  • 2,301
0 votes
1 answer
128 views

I am attempting to read data from the serial port on my computer. It is connected to an arduino printing "hi" over and over. For some reason the program only returns gibberish. code: import jssc....
MrSchmuck's user avatar
0 votes
0 answers
128 views

I have the following encoding in the javascript file: var words = CryptoJS.enc.Utf8.parse("cy03ISBnqOMGQZoAvpAszw=="); and it gives me out put as - (I have checked it on http://jsfiddle.net/9Hyfd/) ...
Ora Aff's user avatar
  • 662