Loading CryptoViz...
Loading page content...Loading CryptoViz...
Loading page content...ENCODING ERROR PLAYGROUND #506
Explore how decoders handle invalid sequences, byte-level truncation, Base64 padding corruption, and Mojibake character set mismatches.
The provided string strictly complies with the specification for Base64. No decoding exceptions or illegal character offset violations detected.
Key concepts in string encoding, byte offsets, and decoding errors.
Base64 processes data in 3-byte (24-bit) blocks. When input length is not a multiple of 3 bytes, trailing '=' characters pad the remaining 6-bit units. Omission or misplaced '=' causes decoder exceptions.
UTF-8 uses variable-length encoding (1 to 4 bytes per codepoint). If a multi-byte sequence is truncated mid-stream, standard decoders emit the Unicode replacement character � (U+FFFD).
Mojibake occurs when text written in one encoding (e.g. UTF-8) is decoded using a different character set (e.g. ISO-8859-1), displaying garbled symbols such as "é" instead of "é".