dankogai / js-base64

Base64 implementation for JavaScript
BSD 3-Clause "New" or "Revised" License
4.27k stars 1.33k forks source link

Error converting > #177

Closed fumagally closed 3 months ago

fumagally commented 3 months ago

The code generate a error if string contains ">" character.

Example:

let string = 'test > Test'; Base64.encode(string);

Results in:

test \�

How to solve it?