Changed String charset to Charset charset
Changed String charset to Charset charset