Skip to main content

"console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0" message when opening a PyDev console

When opening a PyDev console using Jython 2.7b3, I am getting the following error message.

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

This does not show up in Jython 2.5. Note that this was already reported elsewhere, like:
http://sourceforge.net/p/jython/mailman/message/32935457/
http://bugs.jython.org/issue2222%3E

To workaround this issue, add -Dpython.console.encoding=UTF-8 in PyDev configuration, see below for details.

Comments

Popular posts from this blog

Error! Could not locate dkms.conf file install VirtualBox 4.1.8 on Ubuntu 11.10

Tried to update my Ubuntu host today and it did pickup that new version of VirtualBox is available (4.1.8). All other packages installed properly except that VirtualBox installation was complaining about missing dkms.conf file, see error message below. $: sudo /etc/init.d/vboxdrv setup * Stopping VirtualBox kernel modules [ OK ] * Uninstalling old VirtualBox DKMS kernel modules Error! Could not locate dkms.conf file. File: does not exist. [ OK ] * Trying to register the VirtualBox kernel modules using DKMS [ OK ] * Starting VirtualBox kernel modules [ OK ] Though it looks like installation was fine but I am concerned about its effects to VirtualBox functionality. To fix this, do: $: cd /var/lib/dkms/vboxhost $: sudo rm -r 4.1.4 $: sudo /etc/init.d/vboxdrv setup Of course you have to re

Split a line into multiple lines using Notepad++

Say you have a document like below. And you want to split "hello world" into multiple lines. Doing this using Notepad++ is easy. Bring up Replace dialog ( Search | Replace... or CTRL+H ), in  Find what use hello world\r\n . This matches the entire line including carriage return and linefeed character. In Replace with replace the string with the intended multi-line data, for example, hello\r\n\world\r\n , will replace the line into two. One is hello , followed by world in the next line. And of course, for this to work you need to select Regular expression in the Search Mode .