Glossary term
What is encoding? Meaning for developers
A rule that turns text into bytes and back, where UTF-8 uses one to four bytes per character.
Learn it properly · Node.js From ZeroLesson 2: Files, Paths and Buffersfs and fs/promises, paths, buffers and encodings, reading and writing safely, and watching files.