• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Binary translator?

dcdomain

Diamond Member
I was wondering if there was anything like this out there, or if this is even possible. I don't know anything about programming.

For example, I'd like to know the binary coding that makes up the letter L. Would that be way too long, is there a program or webpage that does this? Just wondering.

What about a bar code generator?
 
Start -> Programs -> Accessories -> System tools -> Character map
- Select the character and look at the code. (L is for example 004C hex)

Start -> Run -> Calc
- View -> Scientific
- Select Hex
- Fill in the code without the leading 0s
- Select Bin

1001100
 
If you didn't know, the letters of the alphabet and some other symbols were assigned 7-bit codes for computers to understand. You can view a complete table of them here.

damn, you beat me notfred! 😛
 
a 2 bit system of numbering doesn't take more than a few minutes to learn, but may take a while to get comfortable with. After you learn that, I think "A" is number 51 =\
 
If you want to convert strings to binary, here's a perl script that will do it:

#!/usr/bin/perl
while($ARGV[0] =~ m/(.)/g){
print unpack("B*", pack("C", (ord $1, " "))), " ";
}
print "\n";

save as a file, run like: perl filename.pl "convert this to binary"

And it'll spit out binary for you.

Example:
[~/Desktop] tyler% perl binary.pl "it's binary"
01101001 01110100 00100111 01110011 00100000 01100010 01101001 01101110 01100001 01110010 01111001
[~/Desktop] tyler%
 
Originally posted by: ed21x
a 2 bit system of numbering doesn't take more than a few minutes to learn, but may take a while to get comfortable with. After you learn that, I think "A" is number 51 =\

Perl is beautiful. I wish I had the chance to use it more at work.

Dave
 
Back
Top