Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird character encoding #282

Open
MeechaPooch opened this issue Nov 22, 2022 · 3 comments
Open

Weird character encoding #282

MeechaPooch opened this issue Nov 22, 2022 · 3 comments

Comments

@MeechaPooch
Copy link

MeechaPooch commented Nov 22, 2022

Describe the bug
The text in pathweaver and other gradle apps has weird symbols instead of text

To Reproduce
run ./gradlew pathweaver in an FRC project

Expected behavior
Normal text
In reality
wonky text
image

Desktop

  • OS: 2020 M1 Mac
  • Java version: x86_64 built Java 11
@Starlight220
Copy link
Member

Does PathWeaver display text properly if launched in other ways?
What's the OS language?

@MeechaPooch
Copy link
Author

It does not, but i figured out a solution! I ran it with AdoptOpenJDK 16 instead of OpenJDK 11 (both built for x86), and the text is alright now! ref: https://www.chiefdelphi.com/t/gradle-app-text-is-scuffed-pathweaver-shuffleboard/418426/3?u=meechapooch

@Starlight220
Copy link
Member

Starlight220 commented Nov 24, 2022

There should be a WPILib-installed JDK at ~/wpilib/YEAR/jdk, does running through it work properly? Both VS Code and gradle should be using that JDK to run the tools, so the question is whether a different JDK was somehow used on your machine, or the WPILib-installed JDK causes this issue.

EDIT (for continuity from CD post): WPILib wasn't installed, so the tools were launched with whatever JDK was in JAVA_HOME or on the PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants