Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Language Independent Interfaces for Character Collation Services

IP.com Disclosure Number: IPCOM000117862D
Original Publication Date: 1996-Jun-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 4 page(s) / 127K

Publishing Venue

IBM

Related People

Rose, WD: AUTHOR [+5]

Abstract

Disclosed is a programming language independent mechanism for supporting coded graphic character based collation. This set of services is provided to collate characters according to the cultural convention specified.

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

Language Independent Interfaces for Character Collation Services

      Disclosed is a programming language independent mechanism for
supporting coded graphic character based collation.  This set of
services is provided to collate characters according to the cultural
convention specified.

      A set of programming language independent coded graphic
character collation services has been defined for collating character
data in accordance with the specified national language conventions.
These services have been defined as programming language independent
procedure calls.  Each of the callable services relies on
localization information available to them at runtime, to alter their
results in accordance with the local preferences of the caller.

      These services use the data in a user's local profile
information which identifies preferences for order of coded graphic
character data.  The POSIX 'locale' concept has been adopted as the
means of specifying the user's preferences.

      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  localization information is used to provide culturally correct
      results
  o  localization information can be specified on the procedure call
      via the name of the data structure containing the pertinent
      information.  If not specified in the call, each procedure uses
      the active locale.
  o  error handling provides detailed information on type and
location
      of error
  o  condition handling facility is provided allowing for programmed
      responses to specific errors

The following coded graphic character collation services are
disclosed:
  o  CSFCCLS
       The CSFCCLS service returns the list of collating elements
      corresponding to the specified character class.
       The localization information to use is specified on the
      call interface explicitly, otherwise the current, active
      localization values will be used.  The specific character
      classification to be used is supplied as input, as well as a
list
      of collating elements.  The output is a list of collating
      elements within the classification and the count of entries in
      that list.
  o  The CSFCEEQ service is given a collating element and returns a
      list of collating elements whose primary weights are equal to
the
      weight of the value supplied on input.
       The locale to use is specified in the call, otherw...