ENGINEER 1D04 Chapter Notes - Chapter 4: Newline, Plaintext, Eval
![ENGINEER 1D04 Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2150304-class-notes-ca-mcmaster-engineer-1d04-lecture3.jpg)
4
ENGINEER 1D04 Full Course Notes
Verified Note
4 documents
Document Summary
One important standard is called ascii (american standard code for information interchange). Ascii uses the numbers 0 through 127 to represent the characters typically found on an (american) computer keyboard, as well as certain special values known as control codes that are used to coordinate the sending and receiving of information. For example, the capital letters a z are represented by the values 65 90, and the lowercase versions have codes 97 122. One problem with the ascii encoding, as its name implies, is that it is american-centric. It does not have symbols that are needed in many other languages. Most modern systems are moving to support of unicode a much larger standard that includes support for the characters of all written languages. The ord function returns the numeric ( ordinal ) code of a single-character string, while chr goes the other direction. ord(a)