Swapped literal charset name with Charset created by the
java.nio.charset.Charset class.