L
LLLOS.ai
Learn
L

Ask Your Tutor · Computer Science

Why do some old computers show 'garbled' text when you open a file?

From NCERT Asked by Anonymous from Seattle, United States 23 Oct 2026, 5:25 PM IST Updated

In one line

Sometimes old computers show 'garbled' text when opening a file because the computer does not understand the way the file's letters and symbols are stored.

Character encoding — Using numbers to represent text characters
Character encoding — Using numbers to represent text characters
Text encoding is the code computers use to store letters as numbers. Using the wrong code leads to garbled text.
Image: Wikipedia

The rule

A computer can only show text correctly if it knows the file's encoding (the special code used to store letters and symbols as numbers).

Let's understand it simply

Imagine you write a secret message to your friend using a code, like replacing every letter with a number. If your friend knows the code, they can read your message. But if they use a different code, your message will look like nonsense.

Computers work the same way. When you save a file, the computer uses a code (called encoding) to turn letters into numbers. If another computer uses a different code to read the file, it will show strange or 'garbled' text.

How it works

  1. You save a file on one computer. It uses a certain encoding (like UTF-8 or ASCII).
  2. You open the file on an old computer. It might use a different encoding (like ANSI or another local code).
  3. The old computer tries to turn the numbers in the file back into letters, but uses the wrong code.
  4. The result: you see weird symbols, question marks, or boxes instead of the real text.
What happens when encoding is wrong
  1. File is saved with one encoding
  2. Old computer uses a different encoding
  3. Computer reads numbers as wrong letters
  4. You see garbled text

The story behind it

Long ago, computers could only store simple English letters using a code called ASCII. As people wanted to use other languages (like Hindi, Tamil, or Chinese), new codes were made. But not all computers updated to use the same code. So, files made on one computer might look strange on another, especially if it is old.

Where you see it in real life

  • Opening a Hindi text file on a very old computer → You see boxes or random letters instead of Hindi words → The old computer does not know the Hindi code.
  • Sending a file from a new computer to an old one → The file looks fine on the new computer, but garbled on the old one → Different encodings.
  • Copying a file from a Windows computer to a very old Linux computer → Some letters become weird symbols → The two systems use different codes.
  • Opening a file with Notepad and seeing question marks → Notepad does not know the file's encoding.

Why it matters

  • You need the right encoding to read files in your language (like Hindi, Bengali, or Tamil).
  • If you want to share files with others, you must save them in a common encoding.
  • Many jobs (like data entry, translation, or publishing) need you to check encoding so files are readable everywhere.
  • Exams and computer courses often ask about file formats and encoding.

Common mistakes

  • Thinking the file is broken. It is not—the computer just does not know the code.
  • Trying to fix the file by changing the text. The real fix is to open it with the right encoding.
  • Believing all computers use the same code. In reality, there are many encodings.

Remember it

If a file looks like nonsense, try opening it with a different encoding—it's like using the right key for a lock.

Check yourself

What is encoding in a computer file?

Encoding is the code that turns letters and symbols into numbers so a computer can store them.

Why do you see garbled text when opening a file on an old computer?

Because the old computer uses a different encoding and cannot read the file's code correctly.

How can you fix garbled text in a file?

Try opening the file with the correct encoding or on a computer that supports that encoding.

Why is encoding important when sharing files?

It ensures everyone can read the file correctly, no matter what computer they use.

Quick recap

  • Computers use codes (encodings) to store letters and symbols.
  • Old computers may use a different encoding than new ones.
  • If the encoding does not match, you see garbled or strange text.
  • The file itself is not broken; the computer just cannot read it correctly.
  • Choosing the right encoding makes files readable everywhere.
Written by the LLOS.ai tutor, checked against NCERT chapters. Asked by Anonymous from Seattle, United States on 23 Oct 2026, 5:25 PM IST