Closed atomrc closed 9 months ago
As a side note, this works. So I do believe @stablelib/utf-8 encode
function should be able to handle that payload :)
const enc = new TextEncoder().encode('❤️');
const dec = decode(enc);
Thank you! Fixed in 1.0.2.
Thank you @dchest for such a fast fix 🙏
When trying to encode strings containing emojis, some emojis seem to trigger errors.
a simple reproducer would be the following:
Any idea if there is a workaround I could use? Could this be fixed at the library level?
Thanks :)