[ 
https://issues.apache.org/jira/browse/WICKET-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bálint Kriván updated WICKET-3908:
----------------------------------

    Attachment: myproject.tar.gz

A simple form with textarea a submit button and a span. The content of the 
textarea is going to be echoed to the span using Label. The submit button is an 
AjaxButton so we're using Ajax to post the form. You should see strange chars 
(if you're not using ASCII) because of UTF-8 and ISO-8859-2 conflict.

Try to give this to the textarea: Árvíztűrő tükörfúrógép.

> 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
>              Labels: ajax, encoding, form
>         Attachments: myproject.tar.gz
>
>
> 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