Browse Prior Art Database

Language Independent Interfaces for CCSID/CODESET ID Mapping

IP.com Disclosure Number: IPCOM000123088D
Original Publication Date: 1998-May-01
Included in the Prior Art Database: 2005-Apr-04
Document File: 2 page(s) / 75K

Publishing Venue

IBM

Related People

Rose, DA: AUTHOR [+2]

Abstract

A programming language independent mechanism for converting between coded character set identifiers and codeset name identifiers, in either direction, is disclosed. The mechanism uses a table driven approach to provide the desired output format.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 54% of the total text.

Language Independent Interfaces for CCSID/CODESET ID Mapping

   A programming language independent mechanism for
converting between coded character set identifiers and codeset name
identifiers, in either direction, is disclosed.  The mechanism uses a
table driven approach to provide the desired output format.

   A pair of programming language independent services have
been defined to provide cross referencing of coded character set
identifiers and codeset name identifiers.  They have been defined to
aid the development of coded character set tagging services as well
as character data conversion services.  These cross referencing
services have been defined as programming language independent
procedure calls.

   These services use the data in the coded character set and
codeset name identifier cross reference table to provide the
requested match.  The table contains the supported coded character
set identifiers in five digit decimal value form and the codeset name
identifiers as variable length character strings.

   The language independent interface specifications allow
for a wide number of programming languages to be used on a variety of
processing platforms.

   C function prototypes were used in the specification
of the functions to accurately describe the argument list and the
data types required.

   Procedure calls were used rather than function calls
because not all programming languages support the use of processes
which return function results.

   The main features of the procedure calls are:
  o  table driven service (easily modified data source)
  o  popular style of naming supported (coded character
      set identifier (CCSID) as defined by Character Data
      Representation Architecture, and codeset name as in
      the form, ISO-8859-1)
  o  error handling provides detailed information on type and
      location of error
  o  condition handling facility to provide programmed response
      to errors

      Two functions for converting between coded character set
identifiers and codeset name identifiers are disclosed as follows:
  o  CSFMCDR: Supplies a codeset name identifier as output from
      a...