Fix for  java.nio.charset