File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Help with Binary and Characters? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Help with Binary and Characters?" Watch "Help with Binary and Characters?" New topic
Author

Help with Binary and Characters?

Shyam Prasad Murarka
Ranch Hand

Joined: May 02, 2005
Posts: 209
Dear Readers,
I am utterly confused now. I know how to convert decimal numbers into binary but sometimes I see that character can also be converted into binary. Is that possible? Could someone give me a tiny example? Or a link?
And also what is actually meant by byte data? Like format of binary data is in 0's and 1's What format is byte data in?


With Best Regards,
Shyam Prasad Murarka
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Where did you see "character can also be converted into binary". I suspect this is referring to the fact that all characters are stored as numbers. These numbers only represent characters because (at least in Java), the Unicode character set is used to determine which number maps to each character. Ultimately all data in the computer is stored as binary, so the Unicode values are stored as binary.

Of course, this is just a guess. It would help if you can provide a quote so that we can see the context of this statement. Similarly, you should provide some context for the phrase "byte data".

Layne


Java API Documentation
The Java Tutorial
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with Binary and Characters?
 
Similar Threads
Encrypting data using my own key
Java endian and bit order and signed and unsigned and python and more confusion than I can deal with
Help to read binary files
reading -1 from file ?
Read Bytes From DataInputStream