AddResource should use the current character encoding
-----------------------------------------------------

         Key: MYFACES-1042
         URL: http://issues.apache.org/jira/browse/MYFACES-1042
     Project: MyFaces
        Type: Bug
  Components: General  
    Versions: Nightly    
    Reporter: Mario Ivankovits
    Priority: Blocker


In AddResource.writeWithFullHeader the current character encoding wont be used 
when instantiating the ResponseWriter.
This will encode the whole page even if the page is already in UTF-8 - where no 
further encoding should be done.

I maked it as blocker as this will break html-embedded-javascripts. All 
non-ascii characters were encoded and e.g. when alert() them the browser wont 
decode it.
But feel free to adjust the priority.

Attached you will find a patch which will take the 
response.getCharacterEncoding() - and the adjusted Test-Case.

-- 
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

Reply via email to