From Dev.to
btoa() Is Lying to You: Base64, Unicode, and the Mojibake in Your JWT
A four-character name broke my base64 encoder last week. Not the network, not the token — the string café. Here is what I found after pulling the whole thing apart. btoa() encodes bytes, and a JS stri...
