You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (Commented) (JIRA)" <de...@myfaces.apache.org> on 2011/11/18 14:46:51 UTC

[jira] [Commented] (MYFACES-3402) Partial Response Writer always returns an ignoring the response encoding

    [ https://issues.apache.org/jira/browse/MYFACES-3402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152873#comment-13152873 ] 

Werner Punz commented on MYFACES-3402:
--------------------------------------

Additionally to that, if you pass special characters in an input field on a non utf request down the system, myfaces (also mojarra) mangles the result probably by assuming that only utf8 encoded stuff is passed down.




                
> Partial Response Writer always returns an <?xml version='1.0' encoding='utf-8'?> ignoring the response encoding
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3402
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3402
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.10, 2.1.4
>            Reporter: Werner Punz
>
> While I was testing different ajax encodings I discovered that the Partial Response writer always returns the header listed on the headline of this issue. It ignores simply the original encoding.
> A blackbox test against Mojarra showed in that exact case the proper encoding not UTF-8 static.
> I guess the fix simply should be to make this part of the partial response writer more dynamic and to fetch
> the encoding in from the request header.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira