elm / elm-lang.org

Server and client code for the Elm website.
http://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
1.99k stars 366 forks source link

ASCII codes are seven bit #852

Closed David-Klemenc closed 3 years ago

David-Klemenc commented 3 years ago

There is an error here: Types as Bits (chapter about strings)

So every character needed to fit in eight bits, meaning only 256 characters could be represented!

Since the context is ASCII encoding - this should be corrected to seven bits and 128 characters

ASCII encodes 128 specified characters into seven-bit integers

wikipedia link, ascii table link

David-Klemenc commented 3 years ago

Moved issue to correct repository: https://github.com/evancz/guide.elm-lang.org/issues/256