7 ms·
ASCII is 50 years old
- StefanKarpinski 13y agoMan, it would have been nice for printing numbers in bases greater than ten (e.g. hex) if 0-9 had come right before A-Z.
- breadbox 13y agoThere's a well-documented reason for the placement of (nearly) every single character in ASCII. Unfortunately, not all of the reasons are still very compelling. In fact, a distressingly large number of them have to do with the various techniques for encoding bytes on punch cards. For the curious, I recommend the book "Coded Character Sets: History and Development" by Charles E. Mackenzie. It's an older book, and so it's about the pre-Unicode, US-centric codes. Also, most of the pages focus on the many variants of EBCDIC rather than the stabler ASCII standard. But I guarantee that it will give you a lot of historical perspective.
- asmithmd1 13y agoHoly $h!7 - That book is 650 pages. That is a lot of history.
- LowKarmaAccount 13y agoAmazon's information is incorrect. According to WorldCat and Google Books, the book is 513 pages, not 650. Also, its copyright date should be 1980, not 1979.
- kps 13y agoSince this is such a burning question — my copy is ©1980 and ends at page 513. I am now desperate to see the 137 pages of shocking censored material from the legendary 1979 edition.
- JoeAltmaier 13y agoSurely EBCDIC is what you're referring to?
- deleted 13y ago[deleted]
- js2 13y agoTurns out there's a reason for their placement: - "The digits 0–9 were arranged so they correspond to values in binary prefixed with 011, making conversion with binary-coded decimal straightforward." - "The letter "A" was placed in position 0x41 to match the draft of the corresponding British standard." (Source: wikipedia.)
- leviself 13y agoAnother interesting bitwise trick: flip bit 5 to swap the case of an alphabetic letter.
- kps 13y agoThe 1963 standard (linked from the article, and below[1]) does a reasonable job of describing the design rationale in the appendices. “B4.2 Base 12 Numeric Digits. For those applications requiring use of the sterling monetary system or duodecimal arithmetic, the digits 10 and 11 can replace the two graphics immediately following the digit 9.” [1] http://www.wps.com/projects/codes/X3.4-1963/index.html http://www.wps.com/projects/codes/X3.4-1963/index.html
- DanBC 13y agoFor anyone confused about pre-decimal English currency (http://gwydir.demon.co.uk/jo/units/money.htm http://gwydir.demon.co.uk/jo/units/money.htm) 4 farthings = 1 penny 48 farthings = 1 shilling 960 farthings = £1 There were farthings, half-pennies, pennies, threepences, sixpences, shillings, florins, and half-crowns. I guess we're lucky in only having to fiddle around with dates in awkward formats.
- sjwright 13y ago> I guess we're lucky in only having to fiddle around with dates in awkward formats. And that thing that isn't the metric system.
- vacri 13y agoTo be fair, traditionally there weren't a lot of events where you needed to figure out the number of farthings in a pound. I also read somewhere that loans were generally set at 5% (one shilling interest per pound loaned) because working out any other number was a pain in the neck. No idea of the date or veracity of that little nugget though. I always thought the guinea was particularly funny, given that it doesn't really add much in the way of demarcation.
- js2 13y agoI've probably consulted the ASCII(7) man page more frequently than any other, and consistently for almost two decades now.
- fnordfnordfnord 13y agoI'm embarrassed to admit that TIL there is a man page for ASCII. I wish I had known this years ago.
- breckinloggins 13y agoAnd on OS X at least, it gives you a path to a file. If I "cat /usr/share/misc/ascii" on Mountain Lion, I get an ASCII table (in ASCII, of course).
- decklin 13y agoI got tired of looking at it in my terminal, so I made this: http://man-ascii.com/ http://man-ascii.com/ (I had forgotten until now that the Linux and BSD versions of this man page are so differently laid out! I was running Linux at the time.)
- stox 13y agoAnd the US Navy has finally decided allow use of lower case in messages.
- nsns 13y ago__ __ __ /\ \/\ \ __ /\ \ \ \ `\\ \/\_\ ___ __\ \ \ \ \ , ` \/\ \ /'___\ /'__`\ \ \ \ \ \`\ \ \ \/\ \__//\ __/\ \_\ \ \_\ \_\ \_\ \____\ \____\\/\_\ \/_/\/_/\/_/\/____/\/____/ \/_/
- mililani 13y agoI can't even figure out what that is supposed to say. I'm guessing, Hiee! ????
- peter_l_downs 13y ago"Nice!" ?
- mililani 13y agoAhhhh...I see, said the blind man.
- smaili 13y ago<3
- nyar 13y agoAnd I still can't triforce
- deleted 13y ago[deleted]
- dragonwriter 13y agoI think you mean: ▲ ▲ ▲
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- mogrim 13y agoASCII: what a disaster. As anyone who's ever had to program in any language other than English will have discovered.
- angersock 13y agoPax americana, my friend.
- dragonwriter 13y ago> ASCII: what a disaster. As anyone who's ever had to program in any language other than English will have discovered. Isn't programming always in some language other than English?
- StefanKarpinski 13y agoASCII: the American Standard Code for Information Interchange.
- Avshalom 13y agoIt's not that ASCII is a disaster. It the refusal to default to larger encodings for so long after it became obviously useful (that is as soon as computers stopped being one offs).
- EvanAnderson 13y agoBob Bemer, often cited as the "Father of ASCII", proposed escape sequences to extend ASCII to handle larger encodings in 1960, pre-standardization. http://www.bobbemer.com/ESCAPE.HTM http://www.bobbemer.com/ESCAPE.HTM
- Dylan16807 13y agoWhat else would you use? The only sane format for storing text is unicode, and unicode is a superset of ASCII. Unicode also is an enormous undertaking so don't be impatient about it. Go ahead and complain about the proliferation of 8-bit extensions of ASCII, but that's not a problem with ASCII itself.
- jokoon 13y agoI wish there would be other ways to encode text, even phrases. I once put a lot of time to gather a very short list of the most used english words. Why not encode a phrase with its grammar ?
- AaronFriel 13y agoBecause then you could never encode real works of literature that use esoteric or non-standard grammar. Good luck encoding Huckleberry Finn with your system. On the other hand, encoding smaller units reliably (phonemes, graphemes, whatever is appropriate) and using compression over top of that usually gets you really close to what you wanted, but with greater expressiveness. English text compresses really fantastically well, so why overthink it?