So let's talk about this Askey and Unicode and Encodings first, let me discuss about the character
and Cary.
So if you type a key on what let's say, then the computer does not know what you typed because the
computer only understands deros.
And once so what they did is they have created a mapping such that when you type here, a number will
be printed on the screen.
And according to that number, the prosecution considers that number as a character input.
So if that seems confusing, OK, let me show you.
So these are the aski and against schematics, you can see the decimal here from zero to 137.
So we're asking you to sound bit and you can see the character of the disembodied means, not in the
same way.
Let's go over this alphabet first, then you can easily understand everyone.
So you can see the similarity.
If you see that someone's character, you see the similarities it be.
So we will send this decimal in the binary and the computer are seeing this.
We will deliver the 66 escapable.
So when you type the application into the application, then the computer sends these 66 in binary and
then we consider this 66 as capital B and C, I ask after you.
So that's how you just map some number two alphabet and you send that number to the receiver and the
receiver.
So they will think that you can create the save up to this.
There are so small lowercase alphabet.
Ninety seven means here and that means B and so on.
So in this way you can just represent 128 characters.
I mean 127 characters with this seven bit what you want.
Why are you using this one.
But were you in the previous days.
These are very helpful.
And also these are and of right.
Everyone uses English and everyone want to for these numbers, alphabet and some special characters.
And these new lines are values and this acknowledgement, horizontal backspace, etc. These are more
than enough in the olden days.
But whenever there is the game, I mean, the websites have been starting.
They have this whole ASCII as an issue because everyone want to include the language in applications,
like if you want to send your message, you want to send this with these characters.
So it is characters.
You can only include English, but there are so many languages out there as well, Arabic, Chinese,
Japanese, so many.
And they have their own characters and they have their own alphabets.
They have their own symbols, extra symbols.
So how to include this and after this as they have this extended ASCII code for all the main values,
main symbols.
This is called NC.
So NC did not came out like officially, but they just extended this one to this on the 255.
They have added another 138 special characters.
So even though these mathematical symbols are any other symbols, did not come helpful because everyone
wants their own language like Japanese one, they own Japanese, because even though if you did not
include to become very problem, the Chinese people want to send a letter to the Chinese, send a message,
then it should be in Chinese.
Right.
They can convert English to Chinese.
Everyone does not know English.
That's what this Unicode came in to play.
What they did is Unicode.
They have already added these ASCII 128 or to get into the first two to six characters and then they
have added the other languages as well.
So you do have a compass card that can be compactors askey, so this included aski, but the this Unical
includes the one two four byte and Goring's.
So if the character says this year, which decimal value 65.
So in binary it requires maximum soundbytes that Unicode will encode this year in one way.
And if the binary digits are renting increases then Unicode at the end of the debate.
So Unicode especially you, it is very famous in the web and you of it is variable.
And so according to particular character, we want to encourage this.
Unicode defines those in any number of bits we can see for any character equal to or below one or seven
if the idea of a representation is one way.
So these are as good as any.
These can be represented using one by any Carterton, be using them, using one.
And it just really shouldn't be tough for Unicode.
This is the same as the ASCII value.
So they have copied this ASCII and they have extended somewhat for the characters equal to or below
to zero for the idea of representation is boobage and equal to greater than to zero for it.
And then it is three words and furthermore it is four, which as you can see, but there is some starting
magic number all right there, starting with which are to identify that these bytes are Unicode format,
because if you you can see if you say all once, then it can take this 127 as a as ASCII character,
that will be wrong.
So there is only eight bits.
So we get these are the ASCII and the first one is always so number of three, which is seven two four
seven, it's 128 trade.
We can represent 207.
Fine.
So if there are two bytes, then the first byte, three places are filled with one one zero and the
second bytes for two places have left one zero.
And you can only use this X and you can use replace the bits with all these places with X.
So number of bits of it you can just all of it to whatever, minus one from zero.
All right.
In the same way, if there are three bytes anchoring and the first four which are angerer are filled
with one one one zero and the second by Bitrate one zero and Tervita also one zero, and the private
sector was 16, the 16.
And you get the word to minus one in the same way if you have four weights and these five one four one
zero and then these three weights and in the same are going to be told before disaster and you get to
work on minus one.
So with UTF it, you can incorporate some of these.
And there also you do have 16 and you have 32 as well.
And this you can see you do a test, which I'm going to this website.
OK, these are the characters.
If you want to get the value of yet you need to direct four zero zero one one two seven zero four zero
zero two.
And I want to tell you one, UNICOR.
Get a job interview.
That's my mother tongue.
These are some symbols, and if you want to get the value of this one zero zero, if you want to see
this one.
And if you want you want to see zero zero.
So you can also take an open and you can see DeRussy.
So if you try UNICOR plus you'll get this deregulatory.
So that's how these Unicode works.
OK, let's move on to some important topic again.
Another one, this YouTube.
It is more Usdin of Web pages.
OK, that's fine.
But if you are doing this for us, this these the systems users, UTF 16.
The main problem comes when you are sending some buffer into the applications you will send.
Yes, right.
Yes, these are some other normal value.
So these years are one big one bite where you read can in seven bits.
But this idea of what it does is it will incur everything as to why you want to wait.
So you are 65.
That's into it.
Gyros, that is first rate.
And then and then then in the second way, it will include the actual actual value.
So there is one actual use placing in the value of it.
So every year becomes zero zero zero zero zero zero zero zero and that is value and so be it will add
one other rate in front of this actual value because you do have 16 and got minimum wage.
They have done.
They like that you do a 16 does not have a variable and then that's what it takes to which I mean,
what value?
So it takes to weight, so that's why you get another value that is zero zero in null value if you are
using Windows applications.
If you send the buffer, if it's taken as a string, then the input that the data after this nasty gets
truncated because in every other languages, this is null by Albert.
You need to remember this one.
If you are from C programming, you can just easily understand this.
This network can identify as string Terminator twice a year and then type B, C, D, sorry BCT.
Then the application takes only the input yay three years and it will ignore the input because of this
structure.
This is recreating Terminator.
That means the thing the application reads from these to input from left to right and then yay yay yay.
Upon seeing this right you wrote the application just ignored especially the what happens in a string
applications so that we normally most our modern applications.
How the Unicode encoding because there are so many other different languages users using that way you
need to make sure that you're the Unicode is there in the application.
Then you need to exploit the Unicode according to the conversion of the weights.
So there are some Unicode pages you will discuss about that in the section.
If the time permits these Unicode first are not necessary for what are so many other certifications.
But I just said that there will be this Unicode encoding and if you suddenly see this like somewhat
some delegates are coming out, some other transformations are occurring, then you need to worry it.
Maybe the Unicode encoding there are mainly Windows and Java applications uses this duty of sixteen.
And so we need to deal with the studio 16.
And if time permits, I will add this unique role for us also.
So that's what this Caltrain goodness.
I hope you have understood.
We have discussed the ASCII and extended ASCII currency and then you have encodings.