468,301 Members | 1,563 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,301 developers. It's quick & easy.

Locale Formatting: Phone Numbers

Hello, Folks!

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

TIA...
Jan 24 '08 #1
4 2171
Blue Streak wrote:
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
Jan 24 '08 #2
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.
"Blue Streak" <rd********@hotmail.comwrote in message
news:29**********************************@i12g2000 prf.googlegroups.com...
Hello, Folks!

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

TIA...
Jan 25 '08 #3
On Jan 24, 7:29*pm, "Norman Diamond" <ndiam...@community.nospam>
wrote:
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.

"Blue Streak" <rdlebre...@hotmail.comwrote in message

news:29**********************************@i12g2000 prf.googlegroups.com...
Hello, Folks!
Does anyone know of a website that lists the local phone number
formats for each country?
TIA...- Hide quoted text -

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

http://www.wtng.info
Jan 25 '08 #4
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.

--
Bjørn Brox
Jan 25 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Shay Hurley | last post: by
reply views Thread by Daniele Varrazzo | last post: by
4 posts views Thread by Roger Leigh | last post: by
2 posts views Thread by sprotty | last post: by
7 posts views Thread by ilona | last post: by
reply views Thread by KentEMon | last post: by
2 posts views Thread by czbacnik | last post: by
5 posts views Thread by lim4801 | last post: by
4 posts views Thread by Blue Streak | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.