You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Mikk Mangus (JIRA)" <ji...@apache.org> on 2013/11/05 14:37:20 UTC

[jira] [Comment Edited] (WICKET-5285) Encoding broken on message when reaching jquery.atmosphere

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

Mikk Mangus edited comment on WICKET-5285 at 11/5/13 1:35 PM:
--------------------------------------------------------------

I'm sorry if i'm missing something obvious, but I cannot find a way to overcome this issue.
Where exactly should the preferred encoding be set?


was (Author: murjam):
I'm sorry if i missed something obvious, but I cannot find a way to overcome this issue.
Where exactly should the preferred encoding be set?

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