Skip to content
BENIBIX Learn

Character Encoding

Development📄 Files & FormatsText

Also known as Text Encoding, Charset, Encoding

A rule that turns each letter into a number to store. It turns it back too.

Think of it like

Think of it like a secret code book where each letter has a number. Both sides need the same book to read the message.

Example

Lucy opens an old file and sees é instead of é. It was saved in UTF-8 but read as an older encoding.

Why it matters

A wrong one breaks names and any letter that is not English. Use UTF-8 in all places to avoid it.

Definition

A character encoding is the rule that turns letters into bytes and back. Computers only store numbers, so each letter needs a number to stand for it. If a file is saved with one encoding and read with another, letters come out wrong. That is why you sometimes see odd signs like é where é should be. Today almost every system uses UTF-8.

Common mistake

Assuming every file is plain English text. Names like Zoë and words in Persian need the right encoding.

Key takeaways

  1. 1
    Letters as numbers. Each sign has a number.
  2. 2
    Both sides must match. Same rule to save and read.
  3. 3
    Use UTF-8. It covers every language.

Learn it properly