js-visualizer-9000-client icon indicating copy to clipboard operation
js-visualizer-9000-client copied to clipboard

Inputting 2-byte characters breaks the screen

Open heppokofrontend opened this issue 4 years ago • 0 comments

Thank you for great work!

Bug

  1. Open https://jsv9000.app/
  2. Input #code-editor with Japanese mode (or paste )
  3. Failed to execute btoa

image

Fix

The toBinary function may be helpful.

https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/btoa#unicode_strings

heppokofrontend avatar Apr 02 '21 02:04 heppokofrontend