Progress
External Program
Interfaces


Internationalization Considerations

The 4GL interpreter (for the client, AppServer, and WebSpeed) supports many code-page encoding standards. The JMS client uses Unicode. The translation of text data between the 4GL’s code page and Unicode is done automatically by the 4GL–JMS implementation. (For more information, see the "XML Code-page Encoding" section in Accessing SonicMQ Messaging From the Progress 4GL.")

When a 4GL client sends text data to JMS (for example, in a TextMessage or a StreamMessage), the 4GL client must send the text in a Unicode/utf-8 format. If the internal code page of the client is not in Unicode/UTF–8 format (–cpinternal UTF–8), the 4GL–JMS implementation must convert the text to UTF–8.

When text is converted to UTF–8, each character can require up to three bytes. This causes the text size limit of each text chunk to be 10K, since the conversion routine must prepare enough expansion room. Since all the message types support segmentation of text data, the limit can be worked around by using multiple segments. Whenever possible, the 4GL client’s internal code page should be set to UTF–8 to avoid performing code-page conversions and to eliminate the 10K size limit.


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