WebSpeed
Product Update Bulletin


Overview

To summarize dynamic code-page support from the perspective of the WebSpeed developer:

  1. Progress Software Corporation recommends that the WebSpeed application includes a page that lets the user select a language or nationality from a list of preselected languages or nationalities. For each language or nationality in the list, the developer determines an appropriate code page, which must be compatible with the WebSpeed Agent’s CPINTERNAL code page. To simplify meeting this requirement, make the Agent’s CPINTERNAL code page UTF-8, which is highly compatible with Progress code pages. (For more information, see the $DLC/prolang/readme file.)
  2. The user starts the application and selects a language or nationality.
  3. The application notes the language or nationality selected, determines the corresponding code page, and stores the MIME version (as opposed to the Progress version) of the code-page name within the Web request in one of several places known to the Agent.
  4. NOTE: Progress Software Corporation recommends that once the user chooses the code page, any static HTML the application uses should be in the same code page, and should be labeled with the same code page in the <META> tag’s HTTP-EQUIV attribute near the top of the HTTP document. For an example of one way to do this, see the first code example in the "Storing the MIME Code-page Name" section in this chapter.

  5. Dynamic code-page support takes over.
  6. Each time the Agent receives information from a Web browser, Progress automatically converts the information from the browser’s code page to the Agent’s CPINTERNAL code page.

    Similarly, just before the Agent sends a Web page back to the browser, Progress automatically converts it from the Agent’s CPINTERNAL code page to the browser’s code page.


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