code: @Override
  	public void configure(Configuration parameters) {
  		super.configure(parameters);
  
  		if (charsetName == null || !Charset.isSupported(charsetName)) {
  			throw new RuntimeException("Unsupported charset: " + charsetName);
  		}
  
  		if (charsetName.equalsIgnoreCase(StandardCharsets.US_ASCII.name())) {
  			ascii = true;
  		}
  
  		this.decoder = Charset.forName(charsetName).newDecoder();
  		this.byteWrapper = ByteBuffer.allocate(1);
  	}
docs: --------------------------------------------------------------------------------------------