How do I properly receive UTF-8 characters in JBoss 7?

Discussão em 'StackOverflow' iniciado por Stack, Abril 13, 2021.

  1. Stack

    Stack Membro Participativo

    I’m using JBoss 7.1.3. Currently, when I submit a request to the server with a special character, for example

    Café


    it is received by the server as

    Café


    The only piece of advice I found online for correcting this was to add these sysmte properties to $JBOSS_HOME/standalone/configuration/standalone.xml …

    <system-properties>
    …
    <property name="org.apache.catalina.connector.URI_ENCODING" value="UTF-8"/>
    <property name="org.apache.catalina.connector.USE_BODY_ENCODING_FOR_QUERY_STRING" value="true"/>
    </system-properties>


    However, even after restarting my server my special characters are still being received incorrectly on the server side. What else can I do to properly interpret the characters?

    Continue reading...

Compartilhe esta Página