Crash when compressing characters like ū
tsukinoko-kun opened this issue · comments
Frank commented
I tried to compress "Chūnin"
and this compression function crashed.
Tried to use btoa("Chūnin")
but btoa
doesn't support non-ASCII either.
Douglas Wilson commented
Hi @Frank-Mayer sorry to hear that. We have tests already for strange characters and I quickly modified the test to use Chūnin
and didn't have an issue. Can you provide the following information to help us diagnose?
- Version of Node.js
- Version of this module
- The error you are getting, ideally with stack trace if possible
- Code to replicate the problem
Thank you!