Browse Prior Art Database

National Character Numeric Validation

IP.com Disclosure Number: IPCOM000120681D
Original Publication Date: 1991-May-01
Included in the Prior Art Database: 2005-Apr-02
Document File: 1 page(s) / 40K

Publishing Venue

IBM

Related People

DeBellevue, J: AUTHOR [+2]

Abstract

This article describes a technique for validating numeric characters in a language specific manner.

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

National Character Numeric Validation

      This article describes a technique for validating numeric
characters in a language specific manner.

      Provide a validation routine which considers the language when
doing a numeric validation.  The valid characters would be the
standard lowercase 0-9 for all SBCS languages but then vary by
language as follows:
comma, period, plus, minus -
     Danish, Dutch, English (U.K.), English (U.S), German,
     Icelandic, Norwegian, and Portuguese
comma, period, plus, minus, asterisk -
     Finnish and Swedish
comma, period, plus, minus numeric space, left parenthesis,
right parenthesis -
   French Canadian
comma, minus, numeric space -
   French (France)
comma, period, slash, superscript2, superscript3, plus, minus,
plus-or-minus, space, three-quarters, less-than, equal, greater-than,
one-half, one-quarter, percent, degree, left square bracket, right
square bracket, asterisk, pound sign, dollar sign, left brace, right
brace, micro symbol -

      Italian and Spanish: Support would cover the ASCII code pages
850, 437, 861, 863, and 865, and the EBCDIC code pages 500, 037, 273,
277, 278, 280, 282, 282, 285, 297, and 871.  The routine could be
used to validate data created in or intended for use in both the PC
and the host environments by passing a different code page and
language.

      When working in any language, the validation that proper
numeric characters have been entered can be determined prior...