The XMLRenderer uses by default UTF-8 encoding, but the writer uses the system default encoding, which doesn't work well together. Provide new experimental API Renderer::setReportFile, so that renderer implementations can create their own writers. The default implementation in AbstractRenderer is backwards compatible.