Skip to content

JetBrains: Fix Windows encoding issue

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

Loading