Using Charset.defaultCharset().name() to get the proper name of the default Charset. Reviewed-by: jjg