term

Text encoding

The rule that maps characters to bytes when a file is saved.

Files store bytes, not letters. Reading a file in an encoding different from the one it was written in turns the text into garbage.

Related articles