Skip to content
Snippets Groups Projects

JetBrains: Fix Windows encoding issue

Merged Warren Gifford requested to merge ps/jetbrains-windows-encoding-issue into main

Created by: philipp-spiess

Closes #38218 (closed)

Apparently using new String(byte[]) without specifying a charset will default to using the default charset which can be different across operating systems and JVM version.

To fix the issue we only have to tell the JVM that the byte array is UTF-8 encoded.

Test plan

Windows

Screenshot 2022-07-05 at 16 20 26

macOS

Screenshot 2022-07-05 at 16 22 26

Linux

Screenshot 2022-07-05 at 16 26 12

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Merged by avatar (May 6, 2025 9:29pm 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
Please register or sign in to reply
Loading