Felipe Taboada created WICKET-5285:
--------------------------------------

             Summary: Encoding broken on message when reaching jquery.atmosphere
                 Key: WICKET-5285
                 URL: https://issues.apache.org/jira/browse/WICKET-5285
             Project: Wicket
          Issue Type: Bug
          Components: wicket-atmosphere
    Affects Versions: 6.9.0
         Environment: wicket-atmosphere 0.11, JBoss EAP 6.1
            Reporter: Felipe Taboada
            Assignee: Emond Papegaaij


The problem is that the html updated by the wicket-atmosphere response arrives 
with broken enconding. 
Everything is fine until the respose reaches the jquery.atmosphere javascript. 

Already tried to do this on the javascript resources, but without success: 
@Override 
public JavaScriptPackageResource getResource() 
{ 
JavaScriptPackageResource resource = super.getResource(); 
resource.setTextEncoding("UTF-8"); 
return resource; 
} 

Reproducible at http://www.wicket-library.com/wicket-examples-6.0.x/atmosphere/
Just try to send a message with "รก" .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to