WEBVTT

00:00.000 --> 00:05.000
Text and coding

00:05.000 --> 00:10.000
In this video, we will understand how computers represent text using and coding.

00:10.000 --> 00:16.000
Understand a SCII, extended forms and their limits.

00:16.000 --> 00:19.000
Explore Unicode and its global language support.

00:19.000 --> 00:25.000
Recognize applications and challenges of text and coding.

00:25.000 --> 00:29.000
Have you ever wondered how computers understand letters and numbers?

00:29.000 --> 00:34.000
Computers use text and coding, a system that turns characters into numbers.

00:34.000 --> 00:39.000
This helps them store, display and share information.

00:39.000 --> 00:49.000
The first widely used system was ASCII, American Standard Code for Information Interchange.

00:50.000 --> 00:56.000
ASCII maps a set of basic Western characters to numbers between 0 and 127,

00:56.000 --> 01:00.000
which means it can support 128 different characters.

01:00.000 --> 01:03.000
When you want to convert a string like hello to Aussie,

01:03.000 --> 01:07.000
you look up the relevant value for each character.

01:07.000 --> 01:13.000
Convert the value to binary and concatenate them all together to get the storage ready version.

01:13.000 --> 01:18.000
Each character becomes 8 bits or 1 byte of binary data.

01:18.000 --> 01:21.000
This is known as encoding the string for decoding.

01:21.000 --> 01:23.000
You do everything in reverse.

01:23.000 --> 01:27.000
Still, it wasn't enough for all languages.

01:27.000 --> 01:29.000
Unicode solve this problem.

01:29.000 --> 01:35.000
It supports over 143,000 characters for many languages.

01:35.000 --> 01:39.000
Unicode characters can be stored in different formats.

01:39.000 --> 01:44.000
In UTF-8, the character is stored using 1 to 4 bytes.

01:44.000 --> 01:48.000
In UTF-16, it takes 2 bytes.

01:48.000 --> 01:53.000
And in UTF-32, character always takes single byte.

01:53.000 --> 01:58.000
This is how computers balance memory use with global language support.

