cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoTell me the truth ...piefed.jeena.netimagemessage-square128linkfedilinkarrow-up1386arrow-down15
arrow-up1381arrow-down1imageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square128linkfedilink
minus-squareIron Lynx@lemmy.worldlinkfedilinkarrow-up5·6 hours 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-squareJankatarch@lemmy.worldlinkfedilinkarrow-up1·45 minutes agoIs ascii base-7 fandom’s strongest argument…
minus-squarehouseofleft@slrpnk.netlinkfedilinkEnglisharrow-up3·9 hours agoAscii needs seven bits, but is almost always encoded as bytes, so every ascii letter has a throwaway bit.
minus-squareFuckBigTech347@lemmygrad.mllinkfedilinkarrow-up1·9 hours 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.