This would be solved by the new method ``Stubbing#withBody(final String body, final Charset encoding)``.