Binary translator?

dcdomain

Diamond Member
Jan 30, 2000
5,158
0
71
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?
 

Skyclad1uhm1

Lifer
Aug 10, 2001
11,383
87
91
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
 

AsianriceX

Golden Member
Dec 30, 2001
1,318
1
0
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! :p
 

ed21x

Diamond Member
Oct 12, 2001
5,411
8
81
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 =\
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
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%
 

Apathetic

Platinum Member
Dec 23, 2002
2,587
6
81
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