Locale Formatting: Phone Numbers

  • Thread starter Thread starter Blue Streak
  • Start date Start date
B

Blue Streak

Hello, Folks!

Does anyone know of a website that lists the local phone number
formats for each country?

TIA...
 
Blue said:
Does anyone know of a website that lists the local phone number
formats for each country?

Only the country codes are easily available:
http://www.studyabroad.com/telcodes.html

There's a web site that contains major cities too, but it's impossible
to list everything:
http://www.countrycallingcodes.com/

There are no standards for local phone numbers. The local telephone
centers figure out the area code. In the US and Canada the area code is
always 3-digit, but in many other countries it's a variable digit code.
For example, big cities might have 1-digit area codes, and small
villages could have 5-digit ones. It would be a very large database to
list every little village in the world.

Anyway, you should be looking for a web service, not a web site. For
example, here's one implementation for US phone number lookups:
http://www.eggheadcafe.com/articles/20031118.asp

Google for this: web service phone number lookup

Tom
 
It's virtually impossible.

If you really mean local phone number formats, then usually it's of the form
n-nnnn or nn-nnnn or nnn-nnnn or nnnn-nnnn with hyphens as shown. I've seen
a directory in which the local phone number format was nnn and the directory
had more pages explaining the phone company than pages listing phone
numbers.

If you mean national phone number formats, then the traditional format was
nn(nnn)nnnn or nnn(nnn)nnnn or nnnn(nn)nnnn or nnnnn(n)nnnn, but one
currently popular format is nn-nnnn-nnnn or nnn-nnn-nnnn or nnnn-nn-nnnn or
nnnnn-n-nnnn, and another currently popular format is (nn)nnnn-nnnn or
(nnn)nnn-nnnn or (nnnn)nn-nnnn or (nnnnn)n-nnnn. For many years all three
formats were pretty much equal in popularity, but the traditional format is
less popular now. Other countries might be less flexible, but still I think
you're going to have trouble if you restrict the kinds of formats you
recognize.
 
It's virtually impossible.

If you really mean local phone number formats, then usually it's of the form
n-nnnn or nn-nnnn or nnn-nnnn or nnnn-nnnn with hyphens as shown.  I've seen
a directory in which the local phone number format was nnn and the directory
had more pages explaining the phone company than pages listing phone
numbers.

If you mean national phone number formats, then the traditional format was
nn(nnn)nnnn or nnn(nnn)nnnn or nnnn(nn)nnnn or nnnnn(n)nnnn, but one
currently popular format is nn-nnnn-nnnn or nnn-nnn-nnnn or nnnn-nn-nnnn or
nnnnn-n-nnnn, and another currently popular format is (nn)nnnn-nnnn or
(nnn)nnn-nnnn or (nnnn)nn-nnnn or (nnnnn)n-nnnn.  For many years all three
formats were pretty much equal in popularity, but the traditional format is
less popular now.  Other countries might be less flexible, but still I think
you're going to have trouble if you restrict the kinds of formats you
recognize.








- Show quoted text -

I guess this would be the best on-line source for my own question:

http://www.wtng.info
 
Norman Diamond skrev:
It's virtually impossible.

If you really mean local phone number formats, then usually it's of the
form n-nnnn or nn-nnnn or nnn-nnnn or nnnn-nnnn with hyphens as shown.
I've seen a directory in which the local phone number format was nnn and
the directory had more pages explaining the phone company than pages
listing phone numbers.

If you mean national phone number formats, then the traditional format
was nn(nnn)nnnn or nnn(nnn)nnnn or nnnn(nn)nnnn or nnnnn(n)nnnn, but one
currently popular format is nn-nnnn-nnnn or nnn-nnn-nnnn or nnnn-nn-nnnn
or nnnnn-n-nnnn, and another currently popular format is (nn)nnnn-nnnn
or (nnn)nnn-nnnn or (nnnn)nn-nnnn or (nnnnn)n-nnnn. For many years all
three formats were pretty much equal in popularity, but the traditional
format is less popular now. Other countries might be less flexible, but
still I think you're going to have trouble if you restrict the kinds of
formats you recognize.
To make it more complicated we does not have area-codes in Norway, but
we use different format to tell anything about what kind of phone it is.
"nnn nn nnn" for "special" phone numbers like fax and mobile phones, and
"nn nn nn nn" for regular numbers.

To make it easier mobile phone numbers have it's own number-series.
 
Back
Top