Browse Prior Art Database

Generic Latin-1 Alphabetic Validation

IP.com Disclosure Number: IPCOM000110041D
Original Publication Date: 1992-Oct-01
Included in the Prior Art Database: 2005-Mar-25
Document File: 2 page(s) / 49K

Publishing Venue

IBM

Related People

Fandrick, FM: AUTHOR [+2]

Abstract

This article describes a technique for validating alphabetic characters, assuring that they are alphabetic characters in one of the Latin-1 languages.

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

Generic Latin-1 Alphabetic Validation

       This article describes a technique for validating
alphabetic characters, assuring that they are alphabetic characters
in one of the Latin-1 languages.

      When creating an application that must deal with multilingual
users there is no facility to have alphabetic validation performed.
Existing validation support supplied as part of high level languages
and as callable C functions does not take into consideration other
than the standard English alphabetic characters.  If a user in
Switzerland is running an application they may switch back and forth
between French and Italian, and this is easily done using an OS/2*
command to change the keyboard configuration.  However, the
application that is validating fields to assure that they contain
only alphabetic characters has no way of handling either the
non-syntactic characters present in either French or Italian on a
global scale or the fact that the user may switch back and forth
without reinitializing the system with a different language.

      The solution is to provide a routine which considers all valid
alphabetic characters present in the Latin-1 character set.  The
routine will access a table that consists of the code points in code
page 850 (the IBM PC ASCII multinational code page) of all the
appropriate characters.  The valid characters would be the standard
lowercase a through z, uppercase A through Z, and all alphabetic
characters particular to every one...