You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2013/10/17 19:52:55 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=13798173#comment-13798173 ] 

Leonardo Uribe commented on MYFACES-3402:
-----------------------------------------

This issue was clarified and fixed in 2.2.x branch. My personal opinion is it is better to let things as is in 2.1.x.

> 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
>          Components: JSR-314
>    Affects Versions: 2.0.10, 2.1.4
>            Reporter: Werner Punz
>            Assignee: Leonardo Uribe
>         Attachments: JIRA-MYFACES-3402.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)