Processing.py-Bugs icon indicating copy to clipboard operation
Processing.py-Bugs copied to clipboard

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

Open sauryap opened this issue 4 years ago • 4 comments

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.

sauryap avatar Aug 22 '21 18:08 sauryap

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

jdf avatar Aug 22 '21 18:08 jdf

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.

benfry avatar Aug 22 '21 19:08 benfry

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.

jdf avatar Aug 22 '21 20:08 jdf

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

benfry avatar Oct 04 '21 22:10 benfry