Review completely the javalib

Take the default charset here