formulahendry / formulahendry/vscode-code-runner
java encoding issue with solution
Open
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 351
- PR merge metrics
- No merged PRs in 30d
Description
javac use default encode mode by operation. In the result, javac can not compile .java file which is not fit with your OS. Like UTF-8 .java file can not compile in Traditional Chinese Windows OS (encode with Big5)

solution is like this ,
just add encode parameters in Code Runner setting like this.
"code-runner.executorMap": {
"java": "cd $dir && javac **-encoding UTF-8** $fileName && java $fileNameWithoutExt"
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.