Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by NickWestgate: http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding The comment on the change is: Updated for T5.0.5 ------------------------------------------------------------------------------ = How to use UTF-8 encoding in T5 = - At the time of writing, T5 (version 5.0.5-SNAPSHOT) doesn't have built-in support for UTF-8 encoding, but this will certainly be included in one of the upcoming releases. + T5.0.5 now supports UTF-8 encoding by default and doesn't need the decoratePageResponseRenderer() below. The Utf8Filter changes are still needed to decode form submissions. - In the meantime, follow the instructions below to use "foreign" characters, i.e. ones outside ISO-8859-1. + Follow the instructions below to use "foreign" characters, i.e. ones outside ISO-8859-1. == In your AppModule.java file, add the following methods == @@ -25, +25 @@ }; } + // this method is not needed in Tapestry 5.0.5 or later public static PageResponseRenderer decoratePageResponseRenderer( @InjectService("PageMarkupRenderer") final PageMarkupRenderer markupRenderer, @InjectService("MarkupWriterFactory") final MarkupWriterFactory markupWriterFactory, final Object delegate) { - return new PageResponseRenderer() { public void renderPageResponse(Page page, Response response) throws IOException --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
