All language subtitles for 2. Character Encoding

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional) Download
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

Remember from the earlier video that a byte can store only zeros and ones.

That means we can have 256 possible values.

By the end of this video,

you'll learn how we can represent the words, numbers,

emojis and more we see on our screens,

from only these 256 possible values.

It's all thanks to character encoding.

Character encoding is used to assign

our binary values to characters so that we as humans can read them.

We definitely wouldn't want to see all the text in our emails and

Web pages rendered in complex sequences of zeros and ones.

This is where character encodings come in handy.

You can think of character encoding as a dictionary.

It's a way for your computers to look up

which human characters should be represented by a given binary value.

The oldest character encoding standard used this ASCII.

It represents the English alphabet,

digits, and punctuation marks.

The first character in ASCII to binary table, a lowercase a,

maps to 0 1 1 0 0 0 0 1 in binary.

This is done for all the characters you can find in

the English alphabet as well as numbers and some special symbols.

The great thing with ASCII was that we only needed to use

127 values out of our possible 256.

It lasted for a very long time,

but eventually it wasn't enough.

Other character encoding standards recreated to represent different languages,

different amounts of characters and more.

Eventually they would require more than 256 values we were allowed to have.

Then came UTF 8.

The most prevalent encoding standard used today.

Along with having the same ASCII table,

it also lets us use a variable number of bytes.

What do I mean by that? Think of any emoji.

It's not possible to make emojis with a single byte,

so as we can only store one character in a byte,

instead UTF 8 allows us to store a character in more than one byte,

which means endless emoji fun.

UTF 8 is built off the Unicode Standard.

We won't go into much of detail,

but the Unicode Standard helps us represent character encoding in a consistent manner.

Now that we've been able to represent letters, numbers,

punctuation marks and even emojis,

how do we represent color?

Well, there are all kinds of color models.

For now, let's stick to a basic one that's used in a lot of computers.

RGB or red, green, and blue model.

Just like the actual colors,

if you mix a combination of any of these,

you'll be able to get the full range of colors.

In computerland, we use 3 characters for the RGB model.

Each character represents a shade of the color and

that then changes the color of the pixel you see on your screen.

With just eight combinations of zeros and ones,

were able to represent everything that you see on your computer,

from a simple letter a,

to the very video that you're watching right now on the Coursera website.

Very cool. In the next video,

we'll discuss how we actually generate the zeros and ones.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.