Translate binary numbers to letters

Jacob, make sure you check out Amir's Text to Binary Converter if you haven't yet: This conversation originated from this Small Basic forums thread: If anyone is confused, like Confused and Matthew, please ask in the Small Basic forum: I wanted to learn how to convert the text into the binary and just came across this blog. After visiting this blog, I can perform the calculation and find out the answer by my own. Earlier, I have used binarytranslator to find out the correct answer.

Thank you very much for sharing such a useful information. Looking forward to read such informative blogs in the future.

February 6, at February 6, at 1: May 22, at 7: May 16, at 4: The reason there's a gap between the upper case and lower case alphabets is that it makes "a" 32 more than "A. Why would you want to do that? Well, you probably wouldn't, unless you wanted to conserve space, and you didn't care about anything except the basic upper case alphabet. You see, if all you cared about was the upper case letters and maybe a space , then you could do a conversion like this:.

Because now your biggest number you need to encode is 26, which is less than 2 5. That means that you only need five digits to write each number instead of eight! Since you have to have space in your table for 32 characters, and you've only used up to 26, you might as well use the other ones. Maybe include some punctuation? Or you could create a table with 64 characters, which would either let you put in a lot more punctuation, or the numbers, or the lower case alphabet. But now you're using six binary digits per character, so you're not saving as much space.

Or you could completely jumble your character chart, which makes it a harder for other people to decode:. But if you really want to make a coded message, there are much better ways to do it, so everyone just sticks with the standard ASCII codes in order to keep things simple. Thanks for asking, Emmanuel.

I probably gave you much more information than you were expecting, but I hope you found it both interesting and helpful! PS - you can find more information about encoding here: Colors, Numbers, and Graphemes. Click here to ask your question! Converting Letters to Binary.