public String getCharacterEncoding(Result result) {
        String encoding = result.getQuery().getModel().getEncoding();
        return (encoding != null) ? encoding : getEncoding();
    }
Renders the result to the writer.
container-search/src/main/java/com/yahoo/search/rendering/Renderer.java