By default, EAServer uses UTF-8 as the transmission code set. This applies to in-server intercomponent calls as well as component invocations from base clients. Since PowerBuilder does not support UTF-8, you must specify another encoding if your application uses character values greater than 127.
To specify the encoding for components, specify the component or server code set properties as follows:
For components, specify the Codeset setting on the General tab in the EAServer Manager Component Properties dialog box, or use jagtool or the Advanced tab to set the com.sybase.jaguar.component.code.set property.
For the server, specify the Codeset setting on the General tab in EAServer Manager Server Properties dialog box, or use jagtool or the Advanced tab to set the com.sybase.jaguar.server.code.set property.
To specify the encoding for clients, set the ORBCodeSet property in the PowerBuilder connection object.
Make sure the operating system locale is compatible with the
code set used by the server, components, and clients. For example,
if the operating system locale is zh_CN.gb18030
on
the server machine, set the server code to gb18030
.
The client and server code sets do not need to match, but both must
be compatible with the operating system locale. That is, the client
code set must be compatible with the operating system locale on
the client machine, and the server code set must be compatible with
the operating system on the server machine.
To support logging of localized messages from PowerBuilder components,
the component code set and server code set must be identical, and the
system locale must be compatible with the specified code set.