L
LLLOS.ai
Learn
L

Ask Your Tutor · Computer Science

What are the most common text encodings used today?

From NCERT Asked by Anonymous from Dallas, United States 23 Oct 2026, 9:15 PM IST Updated

In one line

Text encoding is a way to turn letters and symbols into numbers so computers can store and share text.

Unicode — Character encoding standard
Unicode — Character encoding standard
The Unicode logo, showing its aim to cover all the world's writing systems.
Image: Wikipedia

The rule

Text encoding is a system that assigns a unique number (code) to each character (letter, digit, or symbol) so that computers can understand and display text.

Let's understand it simply

Imagine you want to send a message to your friend using only numbers. You decide that A = 1, B = 2, and so on. Now, if you write 3, your friend knows it means C. Computers do something similar. They cannot understand letters directly. So, they use text encodings to change every letter or symbol into a number. When you type 'नमस्ते' or 'Hello', the computer saves it as a set of numbers using a text encoding.

Common Text Encodings
EncodingWhat it coversBytes per character
ASCIIEnglish letters, numbers, symbols1
UTF-8 (Unicode)All languages, emojis, symbols1–4
UTF-16 (Unicode)All languages, emojis, symbols2 or 4
ISO-8859-1Western European languages1

How it works

  1. Every character (A, B, 1, @, क, etc.) is given a unique number.
  2. When you type, the computer changes your letters into these numbers.
  3. When you open the file, the computer reads the numbers and shows the letters again.
  4. If two computers use the same encoding, they will show the same text.

The story behind it

The first popular encoding was ASCII (American Standard Code for Information Interchange), made in the 1960s in the USA. It only had English letters and a few symbols. As computers spread worldwide, people needed to write in Hindi, Tamil, Chinese, Arabic, and more. So, new encodings were made. The most important is Unicode, which tries to cover every language on Earth.

Where you see it in real life

  • SMS on your phone: Uses text encoding to send messages. If you use only English, it may use GSM 7-bit (a kind of ASCII). For Hindi, it uses Unicode.
  • Websites: Most websites use UTF-8 (a type of Unicode) so people everywhere can read them.
  • Word files: When you save a document, the text is stored using an encoding.
  • Programming: When you write code, the computer reads your text using an encoding.
  • Email: Emails use encodings to make sure your message looks the same everywhere.

Why it matters

  • Lets people use computers in any language: Hindi, Tamil, English, Chinese, etc.
  • Prevents text from turning into strange symbols (like 'ä' instead of 'ä').
  • Needed for websites, apps, and messages to work correctly everywhere.
  • Important for exams and jobs in IT, programming, and web design.

Common mistakes

  • Thinking all encodings are the same: ASCII cannot show Hindi or Chinese, but Unicode can.
  • Mixing up encodings: If you open a Unicode file as ASCII, you will see junk characters.
  • Forgetting to set the right encoding in a program or website, which causes text errors.

Remember it

ASCII is for basic English; Unicode (like UTF-8) is for all languages.

Check yourself

What is the main difference between ASCII and Unicode?

ASCII only covers basic English; Unicode covers all languages and symbols.

Why do websites use UTF-8 encoding?

So people from any country can read the text in their own language.

What happens if you open a Unicode text file as ASCII?

You may see strange or junk characters because the numbers do not match the right letters.

Quick recap

  • Text encoding changes letters and symbols into numbers for computers.
  • ASCII is for basic English; Unicode (like UTF-8) covers all languages.
  • UTF-8 is the most common encoding on the internet today.
  • Using the wrong encoding can make text appear as strange symbols.
  • Encodings are essential for emails, websites, and apps to work everywhere.
Written by the LLOS.ai tutor, checked against NCERT chapters. Asked by Anonymous from Dallas, United States on 23 Oct 2026, 9:15 PM IST