Image

Imagebelenkiy wrote in Imagewebdev

WebSphere 502 Encoding Problem

Hi All.

I hope someone can help me with my problem.

I want to specify default encoding of all responses sent to the client within the server configuration.
Under WAS 3.5 there was a directive in the was.conf file:
appserver.java.system.property=default.client.encoding=ISO8859-8

Under WAS 502 I tried to define the following JVM system properties within the servant Address Space:
DEFAULT_CLIENT_ENCODING=ISO8859-8
client.encoding.override=ISO8859-8
but it did not help.

The main porpose is to avoid specifying the encoding in the servlet:
response.setContentType("text/html; charset=ISO8859-8")

Technical information
We run on z/OS 1.4
WebSphere 502

Gosha
__________________
Comments