Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. International phone number formats?

International phone number formats?

Scheduled Pinned Locked Moved The Lounge
helpquestion
25 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D David Crow

    C a r l wrote: I'm looking for the phone number format of every country What country are you not finding?


    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #16

    Maybe I didn't see... but those are only the country codes right? I'm looking for the "format", not the country code. I couldn't find any format information (as I said, maybe it's just me!)

    D 1 Reply Last reply
    0
    • L Lost User

      Maybe I didn't see... but those are only the country codes right? I'm looking for the "format", not the country code. I couldn't find any format information (as I said, maybe it's just me!)

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #17

      You are not going to find a format because one does not exist. For example, I write my phone number in any of the following formats: 1-918-555-1212 1 (918) 555-1212 (918) 555-1212 1.918.555.1212 918.555.1212 1 (918) 555.1212 1 (918) 555 1212 19185551212 Any one of them is correct, and probably depends on what mood I'm in as to which is used.


      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      L 1 Reply Last reply
      0
      • D David Crow

        You are not going to find a format because one does not exist. For example, I write my phone number in any of the following formats: 1-918-555-1212 1 (918) 555-1212 (918) 555-1212 1.918.555.1212 918.555.1212 1 (918) 555.1212 1 (918) 555 1212 19185551212 Any one of them is correct, and probably depends on what mood I'm in as to which is used.


        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #18

        Well... everyone knows that in the US, numbers are grouped as follow: xxx xxx xxxx That's pretty much what I want. There -is- a certain standard in America, although it might not be precise. 123-123-1234 is considered as correct, but 123123 1234 is not.

        M D 2 Replies Last reply
        0
        • L Lost User

          Well... everyone knows that in the US, numbers are grouped as follow: xxx xxx xxxx That's pretty much what I want. There -is- a certain standard in America, although it might not be precise. 123-123-1234 is considered as correct, but 123123 1234 is not.

          M Offline
          M Offline
          Member 96
          wrote on last edited by
          #19

          No Carl, there *isn't* a standard in how to format telephone numbers. As I said earlier, we put a lot of time and research into this very issue about a year ago and the definitive answer was let the user pick their own format. I've seen here in Canada any one of the following used in print: 555.555.5555 <-starting to see this *very* often all over the place, IP style notation. (555) 555-5555 (555) 555 5555 555 555-5555 555-5555 (area code 555) 1-800-pizza55 etc etc, it's just endless. There *are* standards for mailing address put out by each country's postal authority, there are standards for iso country codes, there are standards for IP addresses, credit card numbers, social security / social insurance numbers, license plates etc. Phone number formatting is at best a personal convention. There will never be a *right* way to do it. No matter what you come up with, a sizable percentage of people will not like it, trust me on this one, we've been publishing business software for almost a decade now and people at large take this kind of thing pretty seriously and demand that it conform to their expectations even if their expectations are just plain wrong.

          L D 2 Replies Last reply
          0
          • M Member 96

            No Carl, there *isn't* a standard in how to format telephone numbers. As I said earlier, we put a lot of time and research into this very issue about a year ago and the definitive answer was let the user pick their own format. I've seen here in Canada any one of the following used in print: 555.555.5555 <-starting to see this *very* often all over the place, IP style notation. (555) 555-5555 (555) 555 5555 555 555-5555 555-5555 (area code 555) 1-800-pizza55 etc etc, it's just endless. There *are* standards for mailing address put out by each country's postal authority, there are standards for iso country codes, there are standards for IP addresses, credit card numbers, social security / social insurance numbers, license plates etc. Phone number formatting is at best a personal convention. There will never be a *right* way to do it. No matter what you come up with, a sizable percentage of people will not like it, trust me on this one, we've been publishing business software for almost a decade now and people at large take this kind of thing pretty seriously and demand that it conform to their expectations even if their expectations are just plain wrong.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #20

            I guess this thread is really going nowhere near helping me... :|

            1 Reply Last reply
            0
            • L Lost User

              Anyone knows where I can find all the international phone number formats? Googling didn't help... This gave me a little help, but it's incomplete: http://www.csoft.co.uk/phone_numbers/[^] ie: North America: (123) 555-1234 France: 00 00 00 00 00 Thanks! Carl

              M Offline
              M Offline
              markkuk
              wrote on last edited by
              #21

              The standard for telephone numbers is ITU-T E.123 (02/01).

              L 1 Reply Last reply
              0
              • M markkuk

                The standard for telephone numbers is ITU-T E.123 (02/01).

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #22

                GREAT!!! I guess there is a standard after all! Do you have a subscription with itu.int? I'd just like to make sure the document has the information I need before paying for it. Thanks again! Carl

                1 Reply Last reply
                0
                • L Lost User

                  Well... everyone knows that in the US, numbers are grouped as follow: xxx xxx xxxx That's pretty much what I want. There -is- a certain standard in America, although it might not be precise. 123-123-1234 is considered as correct, but 123123 1234 is not.

                  D Offline
                  D Offline
                  David Crow
                  wrote on last edited by
                  #23

                  C a r l wrote: Well... everyone knows that in the US, numbers are grouped as follow: xxx xxx xxxx No, not to everyone. C a r l wrote: There -is- a certain standard in America... You are confused about what a de facto standard is. How a phone number is displayed and how it is treated/handled by phone equipment are two different things. Your program should handle a phone number in any format. All superfluous characters should be removed when actually using the phone number for dialing purposes.


                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                  1 Reply Last reply
                  0
                  • M Member 96

                    No Carl, there *isn't* a standard in how to format telephone numbers. As I said earlier, we put a lot of time and research into this very issue about a year ago and the definitive answer was let the user pick their own format. I've seen here in Canada any one of the following used in print: 555.555.5555 <-starting to see this *very* often all over the place, IP style notation. (555) 555-5555 (555) 555 5555 555 555-5555 555-5555 (area code 555) 1-800-pizza55 etc etc, it's just endless. There *are* standards for mailing address put out by each country's postal authority, there are standards for iso country codes, there are standards for IP addresses, credit card numbers, social security / social insurance numbers, license plates etc. Phone number formatting is at best a personal convention. There will never be a *right* way to do it. No matter what you come up with, a sizable percentage of people will not like it, trust me on this one, we've been publishing business software for almost a decade now and people at large take this kind of thing pretty seriously and demand that it conform to their expectations even if their expectations are just plain wrong.

                    D Offline
                    D Offline
                    David Crow
                    wrote on last edited by
                    #24

                    John Cardinal wrote: As I said earlier, we put a lot of time and research into this very issue about a year ago and the definitive answer was let the user pick their own format. The same thing happened to me several years ago when I wanted to use a masked-edit control to force the phone numbers into a particular format. It went over like a lead balloon. With a dozen different developers in the group, we had a dozen different opinions! We ended up just making it a regular edit control.


                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                    1 Reply Last reply
                    0
                    • D David Wulff

                      Can you explain to me the logic behind adding a 1 as the second digit in most phone codes about eight or ten years ago (I don't remember exactly when it was). If I try to dial my home number with a code of 0884 I get a recorded BT woman telling me to redial with 01884. Now as the number that follows the area code hasn't changed, what advantage has adding that extra 1 in there done? Similarly, all the 5 digit phone numbers (after the code) in Exeter where pre-fixed with a 2 to make them 6 digits about 1998. If I try to dial my old office number with the old 5 digit number I get the same recorded BT woman telling me to redial with a 2 prefix on the number... I just don't see how they have created more numbers (their reasoning at the time) by adding in what is essentially a silent number. :confused:


                      David Wulff The Royal Woofle Museum

                      Everybody is entitled to my opinion

                      C Offline
                      C Offline
                      catj
                      wrote on last edited by
                      #25

                      David Wulff wrote:

                      Can you explain to me the logic behind adding a 1 as the second digit in most phone codes about eight or ten years ago (I don't remember exactly when it was). If I try to dial my home number with a code of 0884 I get a recorded BT woman telling me to redial with 01884. Now as the number that follows the area code hasn't changed, what advantage has adding that extra 1 in there done? Similarly, all the 5 digit phone numbers (after the code) in Exeter were pre-fixed with a 2 to make them 6 digits about 1998. If I try to dial my old office number with the old 5 digit number I get the same recorded BT woman telling me to redial with a 2 prefix on the number... I just don't see how they have created more numbers (their reasoning at the time) by adding in what is essentially a silent number. Confused

                      If all UK 'geographical' area codes now begin with 01 then you have created *thousands* of unused codes from 02 to 09 that can be used for other services in the future. In the short term, all the random 0402 and 0973 area codes for mobile phones were moved to 07xxx codes. Additionally, all the freephone, lo-call, and national-rate stuff was moved to 08xx. Finally, all the Premium rate stuff was moved to 09xxx. That still left all of the 02 to 06 ranges unused. When London was in danger of running out of 0171 and 0181 seven-digit numbers the whole lot was moved to (020) and everyone's number changed from seven-digits to eight-digits. The old 0171 numbers became 7xxx xxxx. The old 0181 numbers became 8xxx xxxx. The area code for London is (020) and the whole of the 3xxx xxxx and 4xxx xxxx and 5xxx xxxx and 6xxx xxxx number ranges became available for use in the future. The 3xxx xxxx range has now started to be used in the last few years. The planning for this was all done in those BigNumber changes. Other areas of the country are using (023) and (024) and (028) and (029) area codes, and all of those have eight-digit local numbers too. When all your five-digit Exeter local numbers were prefixed with a 2 to make a six-digit local number many years ago, they opened up the range so that numbers like 3xxxxx and 4xxxxx and 5xxxxx and 6xxxxx and 7xxxxx and 8xxxxx became available for future use within your area code. By now, I expect that a lot of those *are* already in use. Most UK phone number formats are fairly simple: - (01x1) xxx xxxx - (011x) xxx xxxx - (01xxx) xxxxxx - (02x) xxxx xxxx - 07xxx xxxxxx - 08xx xxx xxxx

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups