Claims
- 1. In a computer system, a method for storing National Language Support (NLS) identifiers in data objects created under different NLS configurations, the method comprising:(a) defining a plurality of identifiers for indicating different NLS configurations; (b) assigning one of said identifiers indicating an active identifier of the system to data objects created or modified by the system, said active identifier specifying the NLS configurations of the system when the data objects were created or modified by the system; (c) storing the assigned identifier in each data object created or modified by the system as a local identifier of the data object, whereby the object includes information indicating a specific NLS configuration of the system when the object was created or modified; (d) receiving a request to process a new data object; and (e) determining if the new data object may be appropriately processed by the system by comparing the local identifier of the data object to the active identifier of the system; wherein each identifier references at least one character set and at least one language configurations table.
- 2. The method of claim 1, wherein each identifier is in the form of a system-comparable unit.
- 3. The method of claim 1, wherein each identifier is in the form of a byte (8-bit) data member.
- 4. The method of claim 1, wherein the identifier stored in each data object is positioned at a known location in each data object.
- 5. The method of claim 1, wherein at least one of the data objects is a database file, and wherein step (c) includes storing the assigned identifier at offset location Dx1D in the database file.
- 6. The method of claim 1, wherein at least one of the data objects is a single-index file, and wherein step (c) includes storing the assigned identifier at offset location OxOB in the single-index file.
- 7. The method of claim 1, wherein at least one of the data objects is a multiple-index file, and wherein step (c) includes storing the assigned identifier at offset location Ox1F in the multiple-index file.
- 8. The method of claim 1, wherein each identifier specifies a language driver by storing a value selected from one of:ValueLanguage Driver1US2INTL3JAPANESE4NORDAN5NORDAN46SWEDFINwherein the language driver is used for NLS configurations.
- 9. The method of claim 1, wherein each identifier specifies a language driver by storing a value selected from one of:ValueLanguage Driver7ARABIC8DANISH9DUTCH10DUTCH211FINNISH12FINNISH213FRENCH14FRENCH215GERMAN16GERMAN217ITALIAN18ITALIAN219JAPANESE20SPANISH221SWEDISH22SWEDISH223NORWEGIAN24SPANISH25UK26UK227US28FRENCHCAN29FRENCHCAN230FRENCHCAN331CZECH32CZECH233GREEK34HUNGARIAN35POLISH36PORTUGUESE37PORTUGUESE238RUSSIANwhere the language driver is used for NLS configurations.
- 10. The method of claim 1, wherein each identifier specifies a language driver by storing a value selected from one of:ValueLanguage Driver39DANISH40DUTCH41FINNISH42FRENCH43CANADIAN44GERMAN45ICELANDIC46ITALIAN47JAPANESE48NORWEGIAN49SPANISH50SPANISH251SWEDISH52UK53US54PORTUGUESE55US256INTL57INTL258SPANISH59ICELANDIC60INTL61INTL262SPANISH63SWEDFIN64NORDAN465NORWEGIAN266DANISH267ICELANDIC68ICELANDIC269TURKISH100CZECH101CZECH2102POLISH103RUSSIAN104HUNGARIAN105GREEK106GREEK2107HEBREW108ARABIC109SLOVENE110TURK111TURK2112TURK3113BULGARlAN114FARSI115ROMANIAN116ARABIC117HEBREW118HEBREW2119HEBREW2wherein the language driver is used for NLS configurations.
- 11. A computer system storing National Language Support (NLS) identifiers in data objects created under different NLS configurations, the system comprising:(a) a computer having a processor and a means for storing the data objects; (b) means for defining a plurality of identifiers indicating different NLS configurations; (c) means for assigning one of said identifiers indicating a current NLS configuration of the system to each data object created or modified by the system, wherein the assigned identifier specifies the NLS configuration of the system when each data object was created or modified by the system; (d) means for storing the assigned identifier in each data object created or modified by the system, whereby the object includes information indicating a specific NLS configuration of the system when the object was created or modified; (e) means for detecting a request to process a data object which was created or modified under a different NLS configuration than that which the system currently operates; and (f) means for comparing the stored identifier of the data object to the identifier of the NLS configuration which the system currently operates.
- 12. The system of claim 11, further comprising means for setting the NLS configuration which the system currently operates to match that of the data object requested to be processed.
Parent Case Info
The present application is a divisional of application Ser. No. 08/050,957, filed Apr. 21, 1993.
US Referenced Citations (9)