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
Accented characters issue when using java.nio.file.Path #8792
Labels
Comments
Thanks for reporting this. I will try to reproduce it on my side. |
@fernando-valdez Thanks :) Just updated the description (more details section) after trying different images, turns out it works with ol7 based images. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue
Accented characters issue when using Path.of(...)
Steps to reproduce the issue
javac GraalVMAccentedTest.java java GraalVMAccentedTest # Outputs: "Could instantiate file àéïôù.txt"
docker run --name graalvm-accented-test -it "ghcr.io/graalvm/graalvm-ce:ol9-java17" /bin/bash
# Fails without -encoding utf8 javac -encoding utf8 GraalVMAccentedTest.java java GraalVMAccentedTest
Describe GraalVM and your environment:
More details
I tried with different bases (ol7, ol8), turns out ol7 works. And doesn't need the "-encoding utf-8" when compiling:
The text was updated successfully, but these errors were encountered: