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

Martin Grigorov commented on WICKET-5285:
-----------------------------------------

Custom servlet filter that is executed around AtmosphereServlet.
All is has to do is to call 
http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#setCharacterEncoding(java.lang.String)

> 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 was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to