You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "TOTH, Csaba (JIRA)" <ta...@jakarta.apache.org> on 2005/08/27 23:46:04 UTC
[jira] Created: (TAPESTRY-604) UTF-8 output encoding doesn't work, if I use the IMarkupWriter directly
UTF-8 output encoding doesn't work, if I use the IMarkupWriter directly
-----------------------------------------------------------------------
Key: TAPESTRY-604
URL: http://issues.apache.org/jira/browse/TAPESTRY-604
Project: Tapestry
Type: Bug
Components: Framework
Versions: 4.0
Environment: os: Fedora Core 4, kernel: 2.6.12.1, jdk: 1.5.0_04, tomcat: 5.5.9, ide: Eclipse 3.1
Reporter: TOTH, Csaba
I try to generate an unique XML page with Tapestry.
I extends the AbstractPage class, create the getResponseContectType method and override the pageRender method.
With the IMarkupWriter I can generate my XML page simply.
The problem is, when I write UTF-8 characters the output is garbage.
The Servlet specification contains, the default encoding is ISO-8859-1 for HTTP Responses.
I can't find the invoke of HttpServletResponse.setCharacterEncoding method in the Tapestry framework, which would be able to set the
encoding of HTTP Response.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Resolved: (TAPESTRY-604) UTF-8 output encoding doesn't work, if I use the IMarkupWriter directly
Posted by "Mind Bridge (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-604?page=all ]
Mind Bridge resolved TAPESTRY-604:
----------------------------------
Fix Version: 4.0
Resolution: Incomplete
It appears that the issue is in the way that you have created the markup writer of the page. Tapestry uses utf-8 by default and normally it has no problem generating XML pages. Please write to the tapestry-user list with more details -- it is probably a case of insufficient documentation, not incorrect code.
> UTF-8 output encoding doesn't work, if I use the IMarkupWriter directly
> -----------------------------------------------------------------------
>
> Key: TAPESTRY-604
> URL: http://issues.apache.org/jira/browse/TAPESTRY-604
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Environment: os: Fedora Core 4, kernel: 2.6.12.1, jdk: 1.5.0_04, tomcat: 5.5.9, ide: Eclipse 3.1
> Reporter: TOTH, Csaba
> Fix For: 4.0
>
> I try to generate an unique XML page with Tapestry.
> I extends the AbstractPage class, create the getResponseContectType method and override the pageRender method.
> With the IMarkupWriter I can generate my XML page simply.
> The problem is, when I write UTF-8 characters the output is garbage.
> The Servlet specification contains, the default encoding is ISO-8859-1 for HTTP Responses.
> I can't find the invoke of HttpServletResponse.setCharacterEncoding method in the Tapestry framework, which would be able to set the
> encoding of HTTP Response.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org