Building Distributed
Applications
Using the Progress AppServer


Code-page Settings

You can set code pages for 4GL clients and AppServers using several code page startup parameters. Each parameter allows you to specify any one of a wide variety of supported code pages for a specified data domain in the Progress environment (for example, memory code page or input/output stream code page). For the AppServer, you specify code page startup parameters in the Progress Explorer as part of the srvrStartupParam property setting in the ubroker.properties file. For more information on these parameters, see the chapter on code pages in the Progress Internationalization Guide . Whatever the settings, the AppServer performs the necessary conversions to and from the client application.

NOTE: Note that the Terminal Code Page (-cpterm) startup parameter has no meaning for the AppServer.

Both Java and Active/X open clients send requests (input) to the AppServer and receive responses (output) from the AppServer using Unicode UTF-8. The AppServer automatically converts between these open client Unicode UTF-8 requests and the particular code page that the AppServer is using.

NOTE: If your AppServer application provides database services to a multi-lingual open client application, using UTF-8 for both the AppServer and the database provides the most effective data interchange across application components.

CAUTION: Unicode supports text with embedded nulls. Progress does not support this feature, no matter what character set it uses. Make sure that any open client applications filter character strings input to the AppServer for embedded nulls. Unfiltered input can result in unpredictable errors returned by the AppServer.

Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095