You can also apparently use:

      Charset.defaultCharset()

To get the Charset of the plateform but haven't tried that