Skip to content
Snippets Groups Projects

JetBrains: Fix encoding errors when using the standalone version

Merged Administrator 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 :neutral_face:.

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

Merged by avatar (Apr 30, 2025 4:30pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Created by: vdavid

    Review: Approved

    Character encoding is hard. Thanks for fixing these @philipp-spiess! Looks like this became a personal battle for you :D

  • Merged by: philipp-spiess at 2022-07-11 09:45:13 UTC

Please register or sign in to reply
Loading