javac and java are in wrong encoding and locale -
i'm on windows 7. system locale zh_cn , there's no way change os's locale. when install java, detected system locale , therefore java , javac will, supposedly print output in localized language (chinese in case). don't want behaviour there's no way change it.
however, doesn't work. tried cygwin, git bash , win cmd, print question marks. see below sample output (from cygwin):
anyone has idea how make output english? appreciated!
i believe can this command:
java -duser.language=en -duser.country=us ...
Comments
Post a Comment