4 ms·
I thought 7 bits were used in ASCII because terminals needed the 8th as a parity bit, not because machines dealt much in 7bit entities.
by cma 13y ago
I thought 7 bits were used in ASCII because terminals needed the 8th as a parity bit, not because machines dealt much in 7bit entities.
- cdcarter 13y agoPer the wiki page on ASCII: "The committee considered an eight-bit code, since eight bits (octets) would allow two four-bit patterns to efficiently encode two digits with binary coded decimal. However, it would require all data transmission to send eight bits when seven could suffice. The committee voted to use a seven-bit code to minimize costs associated with data transmission. Since perforated tape at the time could record eight bits in one position, it also allowed for a parity bit for error checking if desired.[17] Eight-bit machines (with octets as the native data type) that did not use parity checking typically set the eighth bit to 0.[18]"
- brazzy 13y agoNo. 5 and 6 bit codes existed. And according to Wikipedia (which cites a book "Coded Character Sets, History and Development") making ASCII an 8 bit encoding was considered (not to encode more characters, but to embed BCD data efficiently) but not done because reducing the required bandwith for all text by 12.5% represented a really significant cost reduction at that time.
- Patrick_Devine 13y agoThat is definitely true for early terminals, however the parity bit got tossed after things got less lossy. There was an 8 bit ASCII definition called "Extended ASCII" which was (is?) used for things like Curses which describes a lot of characters which have been remapped in UTF-8.
- deleted 13y ago[deleted]