code: public PrintStream toPrintStream(Charset charset) {
  		return Errors.rethrow().get(() -> {
  			return new PrintStream(toOutputStream(charset), true, charset.name());
  		});
  	}
docs: Creates a PrintStream of the given charset, which passes its content to this StringPrinter.