Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I had problems with my list grids not showing diacritics correctly and I found out that when I inserted from java into the DB the values were already bugged.

A post here helped and I changed my project properties -> Text encoding -> other -> UTF-8 and this fixed my problem. The thing is this only fixes my problem locally.

What I need to do is on my Jboss server also set the encoding somehow. I can only access this panel because I can't access the configuration files directly. Can I do it from here?

enter image description here

Any suggestions are appreciated and sorry for this dumb question but I tried everything I could think of with no success. Thanks.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
160 views
Welcome To Ask or Share your Answers For Others

1 Answer

This may help you https://community.jboss.org/message/643825#643825

<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>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...