Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5285

Encoding broken on message when reaching jquery.atmosphere

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 6.9.0
    • None
    • wicket-atmosphere
    • None
    • wicket-atmosphere 0.11, JBoss EAP 6.1

    Description

      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 "รก" .

      Attachments

        Issue Links

          Activity

            People

              papegaaij Emond Papegaaij
              fliptaboada Felipe Taboada
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: