Kovács István <kovacs.it <at> gmail.com> writes:
>
> I've built an application using the quickstart Maven prototype. It all
> works fine, but serves the output in ISO-8859-1 (Latin-1), not UTF-8.
> Kent Tongs book on Tapestry 4 says "Tapestry always use UTF-8 to
> encode the output, regardless the encoding of the template". This
> seems to have changed - how do I set the encoding?
>
As a temporary workaround, you can patch method "renderPageResponse"
org.apache.tapestry.internal.services.PageResponseRendererImpl
PrintWriter pw = response.getPrintWriter("text/html; charset=UTF-8");
instead of
PrintWriter pw = response.getPrintWriter("text/html");
It worked for me.
HTH, Igor
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]