Some more fixes for dealing with non-ascii chars on Jython 2.7b1.