Browse Prior Art Database

Externalization of Code Page - NLS Implications

IP.com Disclosure Number: IPCOM000111541D
Original Publication Date: 1994-Mar-01
Included in the Prior Art Database: 2005-Mar-26
Document File: 2 page(s) / 53K

Publishing Venue

IBM

Related People

Fandrick, FM: AUTHOR

Abstract

This article describes a technique for externalizing the code page definition in a manner that will allow enabling and support for any system-supported code page. This is especially important when dealing with multiple language versions of software.

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

Externalization of Code Page - NLS Implications

      This article describes a technique for externalizing the code
page definition in a manner that will allow enabling and support for
any system-supported code page.  This is especially important when
dealing with multiple language versions of software.

      When building application software, it is important, as part of
NLS enabling, not to be dependent upon a particular code page.  The
code page defines the character set and specific code points of those
characters.  Hardcoding a specific code page limits the application
to support of only languages supported by that code page.  If a
different language set is to be supported, extensive changes to the
application code may be required if the code page is not
externalized.

      A solution is to externalize the code page by placing the
proper value in an external file.  The code page value will be set by
the user or application installer and will match the code page of the
MRI (machine-readable information) for the particular language being
executed.  The application accesses the external file and sets the
system to the code page as specified in the external file.  Since
multiple languages involving multiple code pages may require support,
the value of the external file is changed depending upon which
language a particular user may want to use.

      By externalizing the code page, the application is in a
position to be enabled for support of any l...