Encoding problem with POSTing a form with Ajax
----------------------------------------------

                 Key: WICKET-3908
                 URL: https://issues.apache.org/jira/browse/WICKET-3908
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
    Affects Versions: 1.5-RC5.1
            Reporter: Bálint Kriván


The form is always posted using Ajax in UTF-8, but if you're using a different 
encoding in the DB or the HTML aswell, the string is ugly obviously. Wicket 
should convert from UTF-8 to the given encoding (detecting from 
getMarkupSettings().setDefaultMarkupEncoding("..."); or 
getRequestCycleSettings().setResponseRequestEncoding("..."); or an other 
settings parameter which could be given to wicket)

I'm attaching a quickstart project which demonstrate this issue by echoing back 
the string given to a textarea.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to