replacement character
The symbol �, which decoders show in place of bytes that do not form a valid character.
In more detail
Seeing it usually means text was decoded with the wrong encoding or a multi-byte character was cut in half. It is Unicode code point 65533, stored in UTF-8 as three bytes.
Related terms
- multi-byte character — A character that takes more than one byte in its encoding, such as é (two bytes in UTF-8) or most emoji (four bytes).
- UTF-8 — The most widely used character encoding, which can represent every Unicode character and matches ASCII for plain English letters.
Taught in
- Buffer Encodings: UTF-8, Hex, Base64 & Slicing — Node.js Internals & Backend Services