waifu-motivator/waifu-motivator-plugin

Non-ASCII characters are not displayed correctly

janek515 opened this issue · 2 comments

Describe the bug
Non-ASCII characters are not displayed correctly

To Reproduce
Steps to reproduce the behavior:

  1. Open IDE
  2. See Waifu of the day dialog
  3. Non-ascii characters in the description look like a mess

Expected behaviour

Non-ASCII characters displayed correctly

Screenshots

image

Platform:

  • OS: Windows 11
  • IDE WebStorm
  • IDE Version 2022.3
  • Version WMP 2.4.0

Additional context

My PC language is set to Polish, while my IDE is in English. Maybe this messes with encoding in some way

I've seen similar issues related to this on the Windows platform in other places.

I might have some time later to take a look into it, thanks for taking the time to report the issue!

Figured out the issue.

Step 1: Decode the description assets correctly (in utf-8).
Step 2: ???
Step 3: Profit! 🎉