@cm0002@lemmy.world to Programmer Humor@programming.dev • 4 days agoTell me the truth ...piefed.jeena.netimagemessage-square146fedilinkarrow-up11.17Karrow-down116
arrow-up11.15Karrow-down1imageTell me the truth ...piefed.jeena.net@cm0002@lemmy.world to Programmer Humor@programming.dev • 4 days agomessage-square146fedilink
minus-squareIron Lynxlinkfedilink6•2 days agoASCII was originally a 7-bit standard. If you type in ASCII, every leading bit is always 0. At least ASCII is forward compatible with UTF-8
minus-square@Jankatarch@lemmy.worldlinkfedilink1•2 days agoIs ascii base-7 fandom’s strongest argument…
minus-square@houseofleft@slrpnk.netlinkfedilinkEnglish3•2 days agoAscii needs seven bits, but is almost always encoded as bytes, so every ascii letter has a throwaway bit.
minus-square@FuckBigTech347@lemmygrad.mllinkfedilink1•2 days agoSome old software does use 8-Bit ASCII for special/locale specific characters. Also there is this Unicode hack where the last bit is used to determine if the byte is part of a multi-byte sequence.
what about them?
ASCII was originally a 7-bit standard. If you type in ASCII, every leading bit is always
0
.At least ASCII is forward compatible with UTF-8
Is ascii base-7 fandom’s strongest argument…
Ascii needs seven bits, but is almost always encoded as bytes, so every ascii letter has a throwaway bit.
Let’s store the boolean there then!!
Some old software does use 8-Bit ASCII for special/locale specific characters. Also there is this Unicode hack where the last bit is used to determine if the byte is part of a multi-byte sequence.