/src/main/java/org/htmlunit/TextPage.java
Files.write( savePath, charset.getBytes( text) ) ;
Files.write ( savePath, text.getBytes ( charset ) ) ;
return getWebResponse().getContentAsString(); } public void save(final File file) throws IOException { final Path savePath = file.toPath(); final String text = getContent(); final Charset charset = getWebResponse().getContentCharset(); <extra_id_0> } }