Encoding Converters Glossary — Every Term Explained

2026-03-27 · SPUNK13 · spunk.bet

Encoding problems are almost always vocabulary problems: someone converts a "character" when they meant a byte, or a "string" when they meant a code point. This glossary defines the terms you actually meet in converter tools, with the command that demonstrates each one.

The character model

Encodings you will meet

Transfer encodings

The commands that resolve arguments

file -I document.txt guesses the encoding. iconv -f windows-1252 -t utf-8 in.txt > out.txt converts between them, and iconv -c drops characters that cannot be represented rather than failing. xxd file | head shows you the actual bytes, which settles arguments faster than any discussion. printf 'hi' | base64 and base64 -d round-trip Base64. In Python, 'é'.encode('utf-8') gives you b'\xc3\xa9' — two bytes, one code point, one grapheme.

Mojibake and how to reverse it

Mojibake is text decoded with the wrong encoding: UTF-8 bytes read as Windows-1252 produce "é" where "é" belonged. It is usually recoverable — encode back to the wrong encoding, then decode as the right one — but only if nothing has replaced unmappable bytes with U+FFFD, the replacement character. Once you see "�", the original bytes are gone.

Explore More

Free tools, guides, and resources.

Visit spunk.bet
400+ ToolsCasinoMemesAstrologyScam DB