JetBrains: Fix encoding errors when using the standalone version
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
App preview:
Check out the client app preview documentation to learn more.