Code on a screen, representing character encoding.

How letters and symbols become numbers a computer stores.

What a character encoding is

A character encoding is a system that assigns numbers to characters - such as letters, digits, punctuation, and symbols - so that text can be represented in a computer. Computers ultimately work with numbers, so to store or transmit text, each character must be mapped to a numeric value. A character encoding defines this mapping, specifying which number stands for which character.

Why encoding is needed

Computers do not inherently understand letters or symbols; they handle numbers. To work with text, there must be an agreed way to turn each character into a number and back again. A character encoding provides exactly this agreement. Without it, there would be no consistent way to store written language in a computer or to send text from one system to another and have it come out the same.

Mapping characters to numbers

At its core, a character encoding is a table of correspondences: each supported character is linked to a specific number. When text is stored or sent, the characters are converted into their assigned numbers; when it is read, the numbers are turned back into characters. As long as both sides use the same encoding, the text is preserved accurately through this conversion.

Different encodings exist

There is more than one character encoding, and they can differ in which characters they cover and how they assign numbers. Some encodings handle only a limited set of characters, while others aim to represent a very wide range of the world's writing systems. Because of these differences, the same numbers can mean different characters under different encodings, which is an important source of potential confusion.

Why encoding matters

Using the correct character encoding matters because interpreting text with the wrong one can produce garbled or incorrect characters. When systems agree on an encoding, text moves between them cleanly; when they disagree, problems appear. This is why character encoding is an important consideration whenever text is stored, shared, or displayed, especially across different systems and languages.

Why it matters

Character encoding is a foundational concept behind all digital text. Understanding what a character encoding is - a system mapping characters to numbers - clarifies how computers handle written language and why text sometimes appears corrupted. For anyone working with text or data, it is a valuable concept to understand.

See also: What is Unicode? Explained, What is ASCII? Explained.

Sources

Published date reflects the original event date (2025-05-06). This article is original Skillo editorial written from the sources above; facts were verified in September 2026.

Skillo Staff

Skillo Staff

All stories by: Skillo Staff

Leave a Reply