wbRequest = new WaybackRequest();
wbRequest.setFrameWrapperContext(false);
// replace default CharsetDetector (StandardCharsetDetector) with a stub
// so as not to depend on its behavior.
cut.setCharsetDetector(new CharsetDetector() {
@Override
public String getCharset(Resource httpHeadersResource,
Resource payloadResource, WaybackRequest wbRequest) {
return "UTF-8";
}