Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when compressing characters like ū #184

Open
tsukinoko-kun opened this issue Jul 28, 2022 · 1 comment
Open

Crash when compressing characters like ū #184

tsukinoko-kun opened this issue Jul 28, 2022 · 1 comment

Comments

@tsukinoko-kun
Copy link

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.

@dougwilson
Copy link
Contributor

dougwilson commented Jul 28, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants