JBoss 编码 utf 8 [英] JBoss Encoding utf 8

查看:42
本文介绍了JBoss 编码 utf 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的列表网格无法正确显示变音符号时遇到问题,我发现当我从 java 插入数据库时​​,值已经被窃听了.

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.

此处的帖子有所帮助,我更改了项目属性 ->文本编码 ->其他 ->UTF-8 这解决了我的问题.问题是这只能在本地解决我的问题.

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.

我需要做的是在我的 Jboss 服务器上也以某种方式设置编码.我只能访问这个面板,因为我不能直接访问配置文件.我可以从这里做吗?

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?

对于这个愚蠢的问题,任何建议表示赞赏和抱歉,但我尝试了所有我能想到的方法,但没有成功.谢谢.

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

推荐答案

这可能对您有所帮助 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>

这篇关于JBoss 编码 utf 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆