Surety is performing system maintenance this weekend. Electronic date stamps on new Prior Art Database disclosures may be delayed.
Browse Prior Art Database

Language-Independent Interfaces for Culturally Sensitive Conversion Services

IP.com Disclosure Number: IPCOM000115963D
Original Publication Date: 1995-Jul-01
Included in the Prior Art Database: 2005-Mar-30
Document File: 4 page(s) / 136K

Publishing Venue


Related People

Rose, WD: AUTHOR [+5]


Disclosed is a programming language independent mechanism to access culturally sensitive character string conversion services.

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

Language-Independent Interfaces for Culturally Sensitive Conversion

      Disclosed is a programming language independent mechanism to
access culturally sensitive character string conversion services.

      A set of conversion services for character strings is required
to manage character data within the context of the global software
market place.  These services have been defined as programming
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 various presentation
formats of the culturally sensitive information.  The POSIX 'locale'
concept has been adopted as the means of specifying the user's

      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

      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 to provide culturally correct results
  o  localization information object name can be included in the call
  o  error handling provides detailed information on type and
      of error
  o  condition handling facility to provide programmed response to

The following character string conversion procedures are disclosed:
  o  CSFM2WS: Converts the source multibyte character string into its
      wide character string representation.
       The input is a multibyte character string to be converted
      as well as the specified number of multibyte characters in the
      string to be processed.  The results of the operation will be
      array of values in the same representation as the process code.
      The service will convey the number of characters which were
      converted, if the operation was successful, otherwise, it will
      return a byte value which is the offset into the multibyte
      where the error occurred.
  o  CSFM2WC: Converts a specified multibyte character into its
      corresponding wide character representation.
       The input specifies a multi byte character, and the maximum
      number of bytes used to specify the wide character.  If the
      specification is not supplied, the default value defined in
      MB_CUR_ MAX will be used.  If specified, the value must be
      greater than zero, otherwise, the operation will not be