CS101.Lect12.Text.ppt

CS101.Lect12.Text.ppt - Computer Science CS101 Lecture 12:...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Computer Science CS101 Lecture 12: Text Representation Text Encoding ASCII and Unicode Aaron Stevens (azs@bu.edu) 4 October 2011 Computer Science What Youll Learn Today How do computers store text information? Why do some characters show up as s on my browser? Computer Science Binary Representations Recall: a single bit can be either a 0 or a 1 What if you need to represent more than 2 choices? n bits can represent 2 n possible combinations Computer Science Representing Text A character set is a list of characters and the numbers (binary codes) used to represent each one. Computer Science The ASCII Character Set ASCII stands for American Standard Code for Information Interchange ASCII originally used seven bits to represent each character, allowing for 128 unique characters Later extended ASCII evolved so that all eight bits were used. Computer Science The ASCII Character Set (7 bits) Computer Science ASCII Encoding Example: Hello, world!...
View Full Document

This note was uploaded on 12/16/2011 for the course CS 101 taught by Professor Stevens during the Fall '08 term at BU.

Page1 / 9

CS101.Lect12.Text.ppt - Computer Science CS101 Lecture 12:...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online