-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Native image charset encoding UTF-8 #1971
Comments
Any update on this @richsanram? |
I'm closing as we don't have enough information to understand what the issue is. If you encounter the issue yourself, please open a new issue with the description of what the problem you're trying to solve is. |
For those coming google, this appears the same as oracle/graal#2492 |
@jaikiran continuing here as I mistakenly posted in the GraalVM issue instead of this one. I think your proposal is reasonable and we can add an option later if people ask for it. Maybe let's make it ready for our next CR so that people can complain early if it's an issue for them. |
This will be fixed in the upcoming 1.7 release. |
When quarkus-maven-plugin is used to build a native image, the resulting binary cannot support UTF-8 characters.
I resolved this setting file.encoding property by hand in the command:
docker run -v /path/example/target:/project:z --rm quay.io/quarkus/centos-quarkus-native-image:graalvm-1.0.0-rc15 -J-Dfile.encoding=UTF-8 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -H:InitialCollectionPolicy='com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime' -jar example-1.0-SNAPSHOT-runner.jar -J-Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -H:+PrintAnalysisCallTree -H:-AddAllCharsets -H:EnableURLProtocols=http,https --enable-all-security-services -H:-SpawnIsolates -H:+JNI --no-server -H:-UseServiceLoaderFeature -H:+StackTrace
The text was updated successfully, but these errors were encountered: