I did a "hot fix" to add the system property
to the jvm running JBossWS, thus changing the default file !? encoding
of the complete jboss installation. Afterwards UTF-8 handling worked
as expected (before that jbossws 1.2 used the default file encoding of
the installation (was iso latin 1 on my machine)
Has anyone found the correct way to configure the file encoding of
I've been debugging for hours on this one and eventually tracked the problem down, which I posted on the JIRA:
A workaround UTF-8 fix can be downloaded there for version 1.2.1GA of JBossWS.
Setting the system property file.encoding may not work when you have an application which relies on platform-default file encoding.
Who else has encountered this problem? Since it affects all non-ASCII UTF-8 characters, it should be basically everybody who's not using English in their webservice app ...
Note my patch for 1.2.1GA (comes with JBoss 4.2.0GA) in the post above.
Yes i have had this exact same problem, as described in first post of this thread (see the post of smalbequi).
I develop on Mac OS X 10.4.10, Jboss 4.0.5 + JbossWS 1.2.1 GA.
We have the same problem, we try to change the jvm parameter :-Dfile.encoding=UTF-8, to add the patch in jira and to change the web configuration (server.xml of jboss-web.deployer) It works with the french character as "ç" but we still have problems with chinese char. Anyone has an idea?
The platform is a Solaris 10 with jboss-4.2.0.GA (jbossws-1.2.1.GA)