About this task
If your application converts data from a JSF page or a service
call to the CHAR, MBCHAR, or DBCHAR variables in the EGL generated Java™, you might have the following
issues:
- The data might be not recognizable.
- The data conversion might not be correct.
To resolve these issues, you can set the property
hpt.override.char.encoding in
the configuration of the
WebSphere® Application Server JVM.
hpt.override.char.encoding is
an EGL definition used to override the default encoding of the application
servers when the conversion is done by EGL.
Example
The following are two scenarios that might need specific
encoding for data conversion:
- For a Euro symbol used on a JSP page, you need to set the hpt.override.char.encoding to
ISO-8859-15, which is an encoding or char-set that includes the EURO
symbol.
- For data that passes to or from a back-end system, specify the
correct EBCDIC encoding.
Note: If you have multiple web applications that use different
encoding, you need to deploy them to different server instances because
each instance has its own encoding.