mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 11:21:06 +01:00
Merge pull request #4350 from satoshiokita/fix-issue-1633
fixed a processing-java command encoding problem for Windows Prompt
This commit is contained in:
@@ -106,7 +106,10 @@ public class Commander implements RunnerListener {
|
||||
try {
|
||||
systemOut = new PrintStream(System.out, true, "UTF-8");
|
||||
systemErr = new PrintStream(System.err, true, "UTF-8");
|
||||
|
||||
if (Platform.isWindows()) {
|
||||
systemOut = new PrintStream(System.out, true);
|
||||
systemErr = new PrintStream(System.err, true);
|
||||
}
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
System.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user