compression
compression copied to clipboard
Crash when compressing characters like ū
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.
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!