Send input data in UTF-8 | Community
Skip to main content
New Participant
November 1, 2023
Solved

Send input data in UTF-8

  • November 1, 2023
  • 1 reply
  • 628 views

We created an adaptive form using core components. We configured a guide container submission like 'Submit to REST endpoint'. When a user fills a form and submits it using german or another language, our servlet recieves incorrect data.
For instanse:
" Adres�t " instead of " Adresát " 
As far as I know, there are OOTB intermediate services which handle input data. How can we configure them to use UTF-8 coding?
We tried configured our submission to 'Invoke an AEM workflow' - we get correct data.
 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pulkit_Jain_

@iharivanovaxamit 

I see that the correct value for the field name is passed from the client side, so there could be an issue on the servlet side while handling the input data.

Apache Sling Request Parameter Handling configuration on the server handles the encoding of the parameters and the default value is utf-8. Please raise a support ticket to investigate the issue further.

1 reply

Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
November 27, 2023

@iharivanovaxamit 

I see that the correct value for the field name is passed from the client side, so there could be an issue on the servlet side while handling the input data.

Apache Sling Request Parameter Handling configuration on the server handles the encoding of the parameters and the default value is utf-8. Please raise a support ticket to investigate the issue further.