From the course: Computer Science Principles: Digital Information

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

ASCII and Unicode

ASCII and Unicode

From the course: Computer Science Principles: Digital Information

Start my 1-month free trial

ASCII and Unicode

- Using binary, we can represent values of different types in a format that is native to a computer. We can do the same with text. You just have to be a little more creative about how we do it. Maybe you've used a decoder ring. Using a decoder ring, you can take a message that contains letters, and using it find the corresponding number or symbol that is used for that letter. You can take a phrase like this one and for each unique letter, you have a symbol that represents it. Using this, you can convert each letter to the new code, and this is called encoding. You are taking the original text and are converting it to a unique code. On the other side, if you get a message that uses these symbols, I can take each symbol and using that same decoder ring I can match the symbol to the letter and decode the message back into the original format. Both the encoding and decoding process need to be identical and agreed upon at both ends. If one end has a different decoder ring than the other…

Contents