Skip to content

JetBrains: Fix encoding errors when using the standalone version

Warren Gifford requested to merge ps/jetbrains-standalone-encoding into main

Created by: philipp-spiess

This PR fixes a text encoding error with the standalone version. Not urgent but this was annoying me 😐.

The issue is that the default atob method does not properly handle unicode characters. We can, however, use the same library that we use to encode the text. This also preserves leading ZERO WIDTH NO-BREAK SPACE character, a property that the TextEncoder did not help with.

Test plan

Screenshot 2022-07-08 at 15 40 09

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading