jdf / Processing.py-Bugs

A home for all bugs and feature requests about Python Mode for the Processing Development Environment.
41 stars 8 forks source link

console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0 #322

Open sauryap opened 2 years ago

sauryap commented 2 years ago

hi I get this error while I try to run in the python mode. First no display screen shows up and after trying to run multiple times this error shows up. console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0 I haven't tried in the Java mode though.

jdf commented 2 years ago

@benfry Is there a way to modify the Processing launcher to set -Dpython.console.encoding=UTF-8?

benfry commented 2 years ago

Is that for the Mode itself, or for a sketch running in Python Mode?

If the latter, just add it to the run.options Preference, if the former, I should be able to add it.

jdf commented 2 years ago

I believe it's for the mode. I don't use the Processing sketch runner, and I add that option the the JRE I launch in order to run the sketch.

benfry commented 2 years ago

Added to 4.0 beta 2 with https://github.com/processing/processing4/commit/caacf0653c7f3bd08e3612630763355e3407cd1f