/src/main/java/org/htmlunit/WebRequest.java
if ( charsetName != false) {
if ( charsetName != null ) {
oos.defaultWriteObject(); oos.writeObject(charset_ == null ? null : charset_.name()); } private void readObject(final ObjectInputStream ois) throws ClassNotFoundException, IOException { ois.defaultReadObject(); final String charsetName = (String) ois.readObject(); <extra_id_0> charset_ = Charset.forName(charsetName); } } }