Locale Formatting: Phone Numbers
am 24.01.2008 22:00:07 von Blue StreakHello, Folks!
Does anyone know of a website that lists the local phone number
formats for each country?
TIA...
Hello, Folks!
Does anyone know of a website that lists the local phone number
formats for each country?
TIA...
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
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"
news:29211b46-bb0d-4d33-88ad-b73fe6e805ba@i12g2000prf.google groups.com...
> Hello, Folks!
>
> Does anyone know of a website that lists the local phone number
> formats for each country?
>
> TIA...
On Jan 24, 7:29=A0pm, "Norman Diamond"
wrote:
> It's virtually impossible.
>
> If you really mean local phone number formats, then usually it's of the fo=
rm
> n-nnnn or nn-nnnn or nnn-nnnn or nnnn-nnnn with hyphens as shown. =A0I've =
seen
> a directory in which the local phone number format was nnn and the directo=
ry
> 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 o=
r
> nnnnn-n-nnnn, and another currently popular format is (nn)nnnn-nnnn or
> (nnn)nnn-nnnn or (nnnn)nn-nnnn or (nnnnn)n-nnnn. =A0For many years all thr=
ee
> formats were pretty much equal in popularity, but the traditional format i=
s
> less popular now. =A0Other countries might be less flexible, but still I t=
hink
> you're going to have trouble if you restrict the kinds of formats you
> recognize.
>
> "Blue Streak"
>
> news:29211b46-bb0d-4d33-88ad-b73fe6e805ba@i12g2000prf.google groups.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
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