public void render ( ) { try { this . response . setHeader ( "Content-type" , "text/html; charset=UTF-8" ) ; this . response . setCharacterEncoding ( "UTF-8" ) ; this . response . setContentType ( this . mimeType ) ; this . engine . mergeTemplate ( this . template , "UTF-8" , this . context , this . response . getWriter ( ) ) ; } catch ( final Exception e ) { throw new PageRenderException ( e ) ; } }
Renders the page in UTF - 8