KwickAcademy Computer Systems · 6 min · free
Character Encoding: ASCII, ISCII and Unicode
Learn how text is stored: ASCII (7 bits), ISCII for Indian scripts, Unicode, and UTF-8 vs UTF-32. Every character is given a number code, and that number is stored in binary.
Follows the syllabus of: CBSE Class 11 Computer Science (083), CBSE Class 11 Computer Science Essentials (083), ICSE Class 9 Computer Applications, ISC Class 11 Computer Science (868)
On screen in this lesson
Why characters need codes
| A computer stores only binary numbers |
| So every character is given a number, its code |
| The number is stored in binary |
| Both computers must use the same code table |
Key words
| Character: a letter, digit, symbol or space |
| Character set: the list of characters with codes |
| Encoding: the rule for turning codes into bits |
ASCII codes
| Character | Decimal | Binary |
|---|---|---|
| A | 65 | 100 0001 |
| B | 66 | 100 0010 |
| a | 97 | 110 0001 |
| 0 (digit) | 48 | 011 0000 |
| space | 32 | 010 0000 |
ASCII and its limits
| Uses 7 bits, so only 128 characters |
| Enough for English letters, digits, symbols |
| No room for Hindi, Gujarati, Tamil or emoji |
| 8-bit extended versions still hold only 256 |
Pause and predict
| Capital C is 67 in ASCII |
| What is small c? |
ISCII for Indian scripts
| Indian Script Code for Information Interchange |
| An Indian standard from the late 1980s |
| 8 bits: first 128 codes are the same as ASCII |
| Upper 128 codes hold Indian letters and matras |
| One table serves Devanagari, Gujarati, Tamil and more |
Quick answers
Capital C is 67 in ASCII. What is small c?
99, because small letters are 32 more.
How many bytes does the Hindi letter ka take in UTF-8?
3 bytes.
KwickClips from this lesson
Short clips, one idea each. Good for revision the night before.
Can a computer store the shape of A?41 sec
How many characters does ASCII have?47 sec
How many bits does ISCII use?44 sec
How many bytes does A take in UTF-32?47 secThe full lesson, in text
Hello students, welcome to Kwickprep. You type your name in English, then a message in Hindi, then send a smiley. The computer only knows zeros and ones. So how does it store letters? Today we will learn character encoding with ASCII, ISCII and Unicode, including UTF-8 and UTF-32.
First, why do characters need codes? A computer can only store binary numbers, not shapes like A or B. So we give every character a number, called its code. That number is then stored in binary. Just like a roll number list, both computers must use the same code table, or the text turns into rubbish.
Let us learn three key words. A character is any single letter, digit, symbol or space, like A, seven or the rupee sign. A character set is the full list of characters, each with its own code. An encoding is the rule that says how those codes are written as bits and bytes.
The first popular code is ASCII, the American Standard Code for Information Interchange. Capital A is sixty five. Capital B is sixty six, because the letters are in order. Small a is ninety seven, exactly thirty two more than capital A. The digit zero, as a character, is forty eight, not zero. Even a space has a code, thirty two.
ASCII has a big limit. It uses seven bits, so it has only one hundred twenty eight codes, from zero to one hundred twenty seven. That is enough for English letters, digits and common symbols. But there is no room for Hindi, Gujarati, Tamil or emoji. Extended ASCII uses eight bits, but even that holds only two hundred fifty six characters.
Pause and predict. Capital C is sixty seven in ASCII. What is small c? Add thirty two, so small c is ninety nine.
India needed its own solution, and it made ISCII. ISCII stands for Indian Script Code for Information Interchange. It became an Indian standard in the late nineteen eighties. It uses eight bits, and its first one hundred twenty eight codes are the same as ASCII. The upper codes hold Indian letters and vowel signs called matras. Because Indian scripts share the same letter order, one table serves Devanagari, Bengali, Gujarati, Tamil and other scripts.
ISCII also had limits. It has only two hundred fifty six codes in total. Switching between scripts needs extra control marks, so files were hard to share. It cannot hold Chinese, Arabic and Hindi together in one file. So today it is mostly replaced by Unicode.
Unicode is the modern answer. It aims to give one unique code to every character in every language. Each code is called a code point. We write it as U plus a hex number, so capital A is U plus zero zero four one. Unicode has room for over eleven lakh code points. It already covers Indian scripts, the rupee sign, maths symbols and emoji.
Here are some real code points. Capital A is U plus zero zero four one, the same number as in ASCII. The Hindi letter ka is U plus zero nine one five. The Gujarati letter ka is U plus zero A nine five. The rupee sign is U plus two zero B nine.
Unicode code points are stored using an encoding, and the two in your syllabus are UTF-8 and UTF-32. UTF-8 uses one to four bytes, while UTF-32 always uses four. So capital A takes one byte in UTF-8, but four in UTF-32. The Hindi ka takes three bytes in UTF-8, and still four in UTF-32. UTF-8 stores English exactly like ASCII, so old files still work. That is why UTF-8 is used for almost every web page, while UTF-32 is simpler for some programs to work with.
If your course uses Python, you can see these codes yourself. The ord function gives the code of a character, so ord of A prints sixty five. The chr function works the other way, so chr of ninety seven prints small a. Encode turns the Hindi ka into UTF-8 bytes, and len counts them. It prints three.
Let us revise what we learned today. Every character is stored as a number code, in binary. ASCII uses seven bits for one hundred twenty eight characters, mostly English. ISCII uses eight bits, adding Indian scripts on top of ASCII. Unicode gives one code point to every character in the world. UTF-8 uses one to four bytes, and UTF-32 always uses four.
Courses that teach this
| Course | Unit |
|---|---|
| CBSE Class 11 Computer Science (083) | Computer Systems and Organisation |
| CBSE Class 11 Computer Science Essentials (083) | Computer Systems and Organisation |
| ICSE Class 9 Computer Applications | Values and Data Types |
| ISC Class 11 Computer Science (868) | Computer Systems and Number Representation |
Voice-over in this lesson is AI-generated. The script is written and checked by Kajal Ma'am. Boards can revise a syllabus mid-year, so confirm anything you plan around against the official board circular. Keep your passwords, OTPs and ID numbers to yourself — we never ask for them. To reach Kajal Ma'am, use the WhatsApp button; sharing your number there is how we call you back.
Free to watch, no sign-up. Live classes with Kajal Ma'am are the paid course; these lessons stay free either way.

