cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoTell me the truth ...piefed.jeena.netexternal-linkmessage-square116fedilinkarrow-up11.12K
arrow-up11.12Kexternal-linkTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square116fedilink
minus-squarehouseofleft@slrpnk.netlinkfedilinkEnglisharrow-up6·6 hours agoWait till you here about every ascii letter. . .
minus-squareIron Lynx@lemmy.worldlinkfedilinkarrow-up2·43 minutes 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-squarehouseofleft@slrpnk.netlinkfedilinkEnglisharrow-up3·4 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·3 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.
Wait till you here about every ascii letter. . .
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
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.