Skip to content

Commit

Permalink
add console encoding to address jdf/Processing.py-Bugs#322
Browse files Browse the repository at this point in the history
  • Loading branch information
benfry committed Oct 4, 2021
1 parent 77556a3 commit caacf06
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
3 changes: 3 additions & 0 deletions build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,9 @@
<option value="-Dcom.apple.macos.useScreenMenuBar=true" />
<option value="-Dcom.apple.smallTabs=true" />

<!-- https://github.com/jdf/Processing.py-Bugs/issues/322 -->
<option value="-Dpython.console.encoding=UTF-8" />

<!-- <option value="-agentpath:/Applications/YourKit-Java-Profiler-2021.3.app/Contents/Resources/bin/mac/libyjpagent.dylib=disablestacktelemetry,exceptions=disable" /> -->

<!-- Make it possible to get to JavaFX for Tools, Modes, etc. Not recommended,
Expand Down
2 changes: 1 addition & 1 deletion build/linux/processing
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,5 @@ else
cd "$APPDIR"

#java -splash:lib/about-1x.png -Djna.nosys=true -Djava.library.path=lib:modes/java/libraries/javafx/library/linux64 --module-path=modes/java/libraries/javafx/library/linux64/modules --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web -Xmx512m processing.app.Base "$SKETCH" &
java -Djna.nosys=true -Djava.library.path=lib:modes/java/libraries/javafx/library/linux64 --module-path=modes/java/libraries/javafx/library/linux64/modules --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web -Xmx512m processing.app.ui.Splash "$SKETCH" &
java -Djna.nosys=true -Dpython.console.encoding=UTF-8 -Djava.library.path=lib:modes/java/libraries/javafx/library/linux64 --module-path=modes/java/libraries/javafx/library/linux64/modules --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web -Xmx512m processing.app.ui.Splash "$SKETCH" &
fi
3 changes: 3 additions & 0 deletions build/windows/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@
<opt>-Dsun.java2d.ddoffscreen=false</opt>
<opt>-Dsun.java2d.noddraw=true</opt>

<!-- https://github.com/jdf/Processing.py-Bugs/issues/322 -->
<opt>-Dpython.console.encoding=UTF-8</opt>

<!-- starting in 4.0, require Java 11 -->
<minVersion>11.0.11</minVersion>
<!-- increase available memory for PDE X -->
Expand Down
12 changes: 5 additions & 7 deletions todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ X deal with getFontMetrics() deprecation warning in EditorToolbar
X Exported Application broken in 4.0 beta 1 on macOS when using P2D or P3D
X https://github.com/processing/processing4/issues/249
X new issue: https://github.com/processing/processing4/issues/284
X mouseButton not reporting correctly in 4.0b1 (Windows and Linux)
X https://github.com/processing/processing4/issues/281
X https://github.com/processing/processing4/issues/283
X add -Dpython.console.encoding=UTF-8 to launcher
X https://github.com/jdf/Processing.py-Bugs/issues/322


contribs
Expand All @@ -28,16 +33,9 @@ _ https://github.com/processing/processing4/issues/240

beta 2

_ mouseButton not reporting correctly in 4.0b1 (Windows and Linux)
_ https://github.com/processing/processing4/issues/281
_ https://github.com/processing/processing4/issues/283

_ movie maker broken with spaces in path (converted to %20)
_ https://github.com/processing/processing4/issues/268

_ add -Dpython.console.encoding=UTF-8 to launcher?
_ https://github.com/jdf/Processing.py-Bugs/issues/322

_ make the call on the launcher setting for Linux
_ https://github.com/processing/processing4/issues/247

Expand Down

0 comments on commit caacf06

Please sign in to comment.