Keep country/region codes, area codes, and phone numbers in separate fields.ĭo not expect a fixed number of digits for an area code or phone number.Ī phone number can be anything between 4 to 11 digits.ĭo not expect mobile and landline phone numbers to have the exact same format in all markets.Įxpect different separators - hyphens (-), periods (.), and commas (,) - between numbers. ![]() NET Framework do not provide any telephone-number formatting information. The current implementation of NLS APIs and the. When designing and coding for display and storage of telephone numbers, do not assume one given format, but leave it very flexible. The ITU-T standard E.164, defined by the Comité Consultatif International Téléphonique et Télégraphique (CCITT), states that the maximum number of digits is 15, but this doesn't include space for things like: Notice that there are different separators such as hyphens (-), periods (.), and spaces, different groupings (two, three, four, five, and six digits per group), and different numbers of total digits used (7-11).Īlso, the examples just given didn't include country/region codes, which could be anything from one to three digits. ![]() Once again, input fields and the routines that process information dealing with telephone numbers should be able to handle the variety of formats.Įxamples of telephone numbers for selected countries: Country/Region Unlike addresses, there is a central body that codifies most of the telephone number formats used across the world. Like addresses, the format for telephone numbers around the world varies significantly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |