Skip to content
Bugwise
Menu

Character encoding

Also called: Encoding, UTF-8, BOM, Mojibake

How letters are stored as bytes in a file. UTF-8 covers every language; a mismatch turns "ć" into "ć".

Definition

If a program reads a file in a different encoding than it was written in, accented and non-Latin letters turn into garbage (often called mojibake). Excel reads CSV files in an old regional encoding unless the file starts with a BOM (byte order mark), a few invisible bytes that say "this is UTF-8".

In practice

The CSV is correct in a text editor, but Excel shows Ćirić because the file has no BOM.

Learn it in context

Lessons that use this term.

Related terms

Esc

Type to search the whole site.