compression icon indicating copy to clipboard operation
compression copied to clipboard

Crash when compressing characters like ū

Open tsukinoko-kun opened this issue 1 year ago • 1 comments

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.

tsukinoko-kun avatar Jul 28 '22 17:07 tsukinoko-kun

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?

  1. Version of Node.js
  2. Version of this module
  3. The error you are getting, ideally with stack trace if possible
  4. Code to replicate the problem

Thank you!

dougwilson avatar Jul 28 '22 17:07 dougwilson