Skip to content

Commit

Permalink
Explicitly set the Jython console encoding on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Feinberg committed Apr 16, 2016
1 parent ca375af commit 80bbf02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtime/src/jycessing/mode/run/SketchServiceProcess.java
Expand Up @@ -121,6 +121,11 @@ private ProcessBuilder createServerCommand() {
command.add("-Xdock:name=Processing");
}

// Attempt to address https://github.com/jdf/Processing.py-Bugs/issues/158
if (Platform.isWindows()) {
command.add("-Dpython.console.encoding=UTF-8");
}

if (PythonMode.VERBOSE) {
command.add("-Dverbose=true");
}
Expand Down

0 comments on commit 80bbf02

Please sign in to comment.