When you connect to EAServer using either the Connection object or the JaguarORB object, you are using the EAServer C++ client ORB. You can set its properties in the Options string of the Connection object or using JaguarORB’s Init function.
To connect to an EAServer component that handles double-byte characters, make sure the component is using the correct code set. The code set can be changed in the Component Properties dialog box in EAServer Manager. You must also set your PowerBuilder client’s code set to use the component. To do so, set the Options property of the Connection object. For example, if you want to handle Korean characters in the eucksc code set, use the following script for a Connection object called myConnection:
myConnection.Options = "ORBCodeSet='eucksc'"
If EAServer was started using the utf-8 codeset and you are calling a Java or PowerBuilder component that returns a string containing the Euro and/or British pound symbol, set the ORBCodeSet property to cp1252. For example:
myConnection.Options = "ORBCodeSet='cp1252'"
When a connection fails, you can obtain more information about the failure in a log file by enabling the ORBLogIIOP option and specifying a value for the ORBLogFile option. If you want to set multiple options, they must be set in the same statement. Separate the options with commas:
myConnection.Options = & "ORBLogIIOP='TRUE', ORBLogFile='d:\temp\ORBLog.txt'"
For a complete list of options, see the online Help for the Connection object or the EAServer documentation.