Browse Prior Art Database

Language and Country code format guessing and mapping Disclosure Number: IPCOM000010758D
Original Publication Date: 2003-Jan-16
Included in the Prior Art Database: 2003-Jan-16
Document File: 2 page(s) / 48K

Publishing Venue



A software service (web service) is disclosed that supports the ability to determine a country-language code encoding standard as input and using a matrix based mapping system it can map any incoming standard to any required standard as output. The system is designed to be used to transform data being passed to or from a web service.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 53% of the total text.

Page 1 of 2

Language and Country code format guessing and mapping

There are several coding standards for representing Country and Language information for use in electronic and internet environments. The main standards are: ISO 639 ( 2 letter language codes) e.g. "SL" for Slovenian ISO 639-2 (3 letter language codes) and NISO Z39.53 e.g. "ITA" for Italian ISO 3166 and ISO 3166-1 (country codes) e.g. "US" for United States They can also be mixed - so for example ISO639 and ISO3166 are often combined to form language/country code combinations e.g. "en-US" for English as used in the United States

RFC1766 ( as used in HTML. This standard allows for a mixing of the above encoding and adds some additional options: examples of this encoding are:
"en": English
"en-US": the U.S. version of English "en-cockney": the Cockney version of English "i-cherokee": the Cherokee language spoken by some Native Americans "i-sami-no" (North Sami)

  For some of these standards (eg. ISO 3166) casing is recommended but not enforced and this makes the probelm more complex as some systems may only work with the proper casing - i.e. the casing they were designed to accept. The problem is twofold:

In order to supply language and country information to an internet service or

software process you need to know in advance what standard or format the service or software expects
If the format expected by a service or software module does not match what you

  are already using yo...