Consultor Eletrônico



Kbase P99909: WebServices esbadapter is not able to deliver czech characters from AppServer to 4GL client
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/01/2005
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0B
Windows NT 32 Intel/Windows 2000

SYMPTOM(s):

WebServices esbadapter is not able to deliver czech characters

Using SonicMQ version 6.0 and Sonic ESB version 5.5 and OpenEdge 10.0B01

4GL client startup parameter: -pf prolang\utf\utf-8.pf

AppServer startup parameter: -pf prolang\utf\utf-8.pf

CAUSE:

ESB container for OpenEdge Service was started with default settings.
By default any ESB container is started using the default file encoding from the underlaying operating system which is never UTF-8 .
Not all UTF-8 characters are understandable by a non UTF-8 codepage in a proper way and a character conversion for some special characters takes places.

FIX:

Specify UTF-8 as file encoding parameter for starting the ESB container for the OpenEdge Service.
You do that by specifying as additional JVM_ARGS_EXT environment variable -Dfile.encoding=UTF-8
Example how the line short before starting the Java Virtual Machine (JVM)
within the startcontainer.bat used by the OpenEdge container could look like:
set JVM_ARGS_EXT=-Dfile.encoding=UTF-8 %JVM_ARGS_EXT%