-  fixed an encoding error, due to java and its lovely checked exceptions