Executables

Programming, for all ages and all languages.
Post Reply
dag
Posts: 13
Joined: Fri Jul 11, 2008 5:02 am
Location: Norway

Executables

Post by dag »

When I create an executable file, it ends up looking like "ÿuàÿuØÿuÔè[þÿÿÄ".
I'm not sure where the binaries come in. Is this really binary, but 10100100 is
translated to e.g. ÿ in order to save disk space? Are there any good docs on this?
Shroomster
Posts: 9
Joined: Thu Aug 21, 2008 1:36 pm

Re: Executables

Post by Shroomster »

No, the text editor represents everything in ASCII (and or UTF-8), in which 8 bit sequences, or bytes (or characters), represent every letter. Therefore, ÿ is a series of 8 1's and 0's. If you want to see the actual binary, download a hex editor.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Executables

Post by Combuster »

"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
dag
Posts: 13
Joined: Fri Jul 11, 2008 5:02 am
Location: Norway

Re: Executables

Post by dag »

I get it, thanks a lot!
Post Reply