Browse Prior Art Database

HTTP web server translates program parameter data to Unicode

IP.com Disclosure Number: IPCOM000015231D
Original Publication Date: 2002-Jul-11
Included in the Prior Art Database: 2003-Jun-20
Document File: 2 page(s) / 42K

Publishing Venue

IBM

Abstract

Web server translates CGI program data to Unicode

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 53% of the total text.

Page 1 of 2

HTTP web server translates program parameter data to Unicode

Web server translates CGI program data to Unicode

A web server design is disclosed that eliminates CGI programs' codepage translation requirements. The web server translates all CGI programs' data to Unicode. CGI programs can be written to use the Unicode codepage with no additional translation.

Background Information

Web servers fulfill client requests for information by returning either static or dynamic data. Static data is retrieved from files. Dynamic data is retrieved through use of Common Gateway Interface (CGI) programs.

Web servers call CGI programs and pass request information as call parameters. The request information includes both application data and HTTP protocol information that indicates how the application data is encoded and how the results should be encoded.

The CGI programs must parse the HTTP protocol information, decode the parameter data, generate the results, and encode the results appropriately. The encoded results are returned to the web server which sends them to the client.

Data Encoding and Decoding

Request data and results are encoded in any of several codepages. The codepages define the alphabet used to encode the data. For example, data may be encoded in an ASCII codepage such as is used on PCs or in EBCDIC as is used on mainframe computers. Or, the data may be encoded in a French codepage which has a different alphabet than a German codepage.

CGI programs are often writ...